]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / clang / lib / StaticAnalyzer / Core / CommonBugCategories.cpp
1 //=--- CommonBugCategories.cpp - Provides common issue categories -*- C++ -*-=//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h"
11
12 // Common strings used for the "category" of many static analyzer issues.
13 namespace clang { namespace ento { namespace categories {
14
15 const char * const CoreFoundationObjectiveC = "Core Foundation/Objective-C";
16 const char * const LogicError = "Logic error";
17 const char * const MemoryRefCount =
18   "Memory (Core Foundation/Objective-C/OSObject)";
19 const char * const MemoryError = "Memory error";
20 const char * const UnixAPI = "Unix API";
21 }}}