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. 13namespace clang { 14namespace ento { 15namespace categories { 16extern const char *const CoreFoundationObjectiveC; 17extern const char *const LogicError; 18extern const char *const MemoryRefCount; 19extern const char *const MemoryError; 20extern const char *const UnixAPI; 21extern const char *const CXXObjectLifecycle; 22extern const char *const CXXMoveSemantics; 23extern const char *const SecurityError; 24extern const char *const UnusedCode; 25} // namespace categories 26} // namespace ento 27} // namespace clang 28#endif 29