Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 14 | pmbaty | 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 CoreFoundationObjectiveC; |
||
| 17 | extern const char *const LogicError; |
||
| 18 | extern const char *const MemoryRefCount; |
||
| 19 | extern const char *const MemoryError; |
||
| 20 | extern const char *const UnixAPI; |
||
| 21 | extern const char *const CXXObjectLifecycle; |
||
| 22 | extern const char *const CXXMoveSemantics; |
||
| 23 | extern const char *const SecurityError; |
||
| 24 | extern const char *const UnusedCode; |
||
| 25 | } // namespace categories |
||
| 26 | } // namespace ento |
||
| 27 | } // namespace clang |
||
| 28 | #endif |