clang  14.0.0git
CommonBugCategories.cpp
Go to the documentation of this file.
1 //=--- CommonBugCategories.cpp - 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 
10 
11 // Common strings used for the "category" of many static analyzer issues.
12 namespace clang {
13 namespace ento {
14 namespace categories {
15 
16 const char *const CoreFoundationObjectiveC = "Core Foundation/Objective-C";
17 const char *const LogicError = "Logic error";
18 const char *const MemoryRefCount =
19  "Memory (Core Foundation/Objective-C/OSObject)";
20 const char *const MemoryError = "Memory error";
21 const char *const UnixAPI = "Unix API";
22 const char *const CXXObjectLifecycle = "C++ object lifecycle";
23 const char *const CXXMoveSemantics = "C++ move semantics";
24 const char *const SecurityError = "Security error";
25 const char *const UnusedCode = "Unused code";
26 } // namespace categories
27 } // namespace ento
28 } // namespace clang
clang::ento::categories::CXXMoveSemantics
const char *const CXXMoveSemantics
Definition: CommonBugCategories.cpp:23
CommonBugCategories.h
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