1 | //=--- CommonBugCategories.h - Provides common issue categories -*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_COMMONBUGCATEGORIES_H |
10 | #define LLVM_CLANG_STATICANALYZER_CORE_BUGREPORTER_COMMONBUGCATEGORIES_H |
11 | |
12 | // Common strings used for the "category" of many static analyzer issues. |
13 | namespace clang { |
14 | namespace ento { |
15 | namespace categories { |
16 | extern const char *const AppleAPIMisuse; |
17 | extern const char *const CoreFoundationObjectiveC; |
18 | extern const char *const LogicError; |
19 | extern const char *const MemoryRefCount; |
20 | extern const char *const MemoryError; |
21 | extern const char *const UnixAPI; |
22 | extern const char *const CXXObjectLifecycle; |
23 | extern const char *const CXXMoveSemantics; |
24 | extern const char *const SecurityError; |
25 | extern const char *const UnusedCode; |
26 | extern const char *const TaintedData; |
27 | } // namespace categories |
28 | } // namespace ento |
29 | } // namespace clang |
30 | #endif |
31 | |