16fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//=--- CommonBugCategories.h - Provides common issue categories -*- C++ -*-===//
26fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//
36fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//                     The LLVM Compiler Infrastructure
46fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//
56fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek// This file is distributed under the University of Illinois Open Source
66fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek// License. See LICENSE.TXT for details.
76fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//
86fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek//===----------------------------------------------------------------------===//
96fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek
10edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose#ifndef LLVM_CLANG_STATIC_ANALYZER_BUG_CATEGORIES_H
11edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose#define LLVM_CLANG_STATIC_ANALYZER_BUG_CATEGORIES_H
126fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek
136fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek// Common strings used for the "category" of many static analyzer issues.
146fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremeneknamespace clang {
156fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek  namespace ento {
166fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek    namespace categories {
17edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose      extern const char * const CoreFoundationObjectiveC;
18edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose      extern const char * const LogicError;
19edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose      extern const char * const MemoryCoreFoundationObjectiveC;
20edcc199f5861dd8ad1ec3ad1b83512d2a92e515aJordan Rose      extern const char * const UnixAPI;
216fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek    }
226fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek  }
236fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek}
246fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek#endif
256fd4505ad67a186da8cc26fdb493c93fe4937555Ted Kremenek
26