]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
[FreeBSD/FreeBSD.git] / contrib / llvm-project / clang / include / clang / StaticAnalyzer / Core / BugReporter / CommonBugCategories.h
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 extern const char *const TaintedData;
26 } // namespace categories
27 } // namespace ento
28 } // namespace clang
29 #endif