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
9#include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
10
11// Common strings used for the "category" of many static analyzer issues.
12namespace clang {
13namespace ento {
14namespace categories {
15
16const char *const AppleAPIMisuse = "API Misuse (Apple)";
17const char *const CoreFoundationObjectiveC = "Core Foundation/Objective-C";
18const char *const LogicError = "Logic error";
19const char *const MemoryRefCount =
20 "Memory (Core Foundation/Objective-C/OSObject)";
21const char *const MemoryError = "Memory error";
22const char *const UnixAPI = "Unix API";
23const char *const CXXObjectLifecycle = "C++ object lifecycle";
24const char *const CXXMoveSemantics = "C++ move semantics";
25const char *const SecurityError = "Security error";
26const char *const UnusedCode = "Unused code";
27const char *const TaintedData = "Tainted data used";
28} // namespace categories
29} // namespace ento
30} // namespace clang
31