clang  14.0.0git
CommonBugCategories.h
Go to the documentation of this file.
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
clang::ento::categories::CXXMoveSemantics
const char *const CXXMoveSemantics
Definition: CommonBugCategories.cpp:23
clang::ento::categories::SecurityError
const char *const SecurityError
Definition: CommonBugCategories.cpp:24
clang::ento::categories::CXXObjectLifecycle
const char *const CXXObjectLifecycle
Definition: CommonBugCategories.cpp:22
clang::ento::categories::MemoryRefCount
const char *const MemoryRefCount
Definition: CommonBugCategories.cpp:18
clang::ento::categories::UnusedCode
const char *const UnusedCode
Definition: CommonBugCategories.cpp:25
clang::ento::categories::CoreFoundationObjectiveC
const char *const CoreFoundationObjectiveC
Definition: CommonBugCategories.cpp:16
clang::ento::categories::MemoryError
const char *const MemoryError
Definition: CommonBugCategories.cpp:20
clang::ento::categories::LogicError
const char *const LogicError
Definition: CommonBugCategories.cpp:17
clang
Definition: CalledOnceCheck.h:17
clang::ento::categories::UnixAPI
const char *const UnixAPI
Definition: CommonBugCategories.cpp:21