clang API Documentation
00001 //===- DiagnosticCategories.h - Diagnostic Categories Enumerators-*- C++ -*===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_CLANG_BASIC_DIAGNOSTICCATEGORIES_H 00011 #define LLVM_CLANG_BASIC_DIAGNOSTICCATEGORIES_H 00012 00013 namespace clang { 00014 namespace diag { 00015 enum { 00016 #define GET_CATEGORY_TABLE 00017 #define CATEGORY(X, ENUM) ENUM, 00018 #include "clang/Basic/DiagnosticGroups.inc" 00019 #undef CATEGORY 00020 #undef GET_CATEGORY_TABLE 00021 DiagCat_NUM_CATEGORIES 00022 }; 00023 } // end namespace diag 00024 } // end namespace clang 00025 00026 #endif