diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-16 05:52:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-16 05:52:14 +0000 |
commit | a538967177e73526741b048575aacc409d41cf21 (patch) | |
tree | 4badae65c195947e49327e67cc44ed6fbe7ac72c /clang/lib/Basic/Diagnostic.cpp | |
parent | 22cb818913205f27f76a88fbb690806eb90a125f (diff) | |
download | bcm5719-llvm-a538967177e73526741b048575aacc409d41cf21.tar.gz bcm5719-llvm-a538967177e73526741b048575aacc409d41cf21.zip |
tblgen is now passing diagnostic group information in the .inc file, ignore it everywhere.
llvm-svn: 69269
Diffstat (limited to 'clang/lib/Basic/Diagnostic.cpp')
-rw-r--r-- | clang/lib/Basic/Diagnostic.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/Basic/Diagnostic.cpp b/clang/lib/Basic/Diagnostic.cpp index 16cb111e2c2..b26d08544f3 100644 --- a/clang/lib/Basic/Diagnostic.cpp +++ b/clang/lib/Basic/Diagnostic.cpp @@ -43,7 +43,8 @@ struct DefaultMappingInfo { }; static const DefaultMappingInfo DefaultMappings[] = { -#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC) { diag::ENUM, DEFAULT_MAPPING-1 }, +#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC,GROUP) \ + { diag::ENUM, DEFAULT_MAPPING-1 }, #include "clang/Basic/DiagnosticCommonKinds.inc" #include "clang/Basic/DiagnosticDriverKinds.inc" #include "clang/Basic/DiagnosticFrontendKinds.inc" @@ -82,7 +83,7 @@ enum { }; /// DiagnosticClasses - The class for each diagnostic. -#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC) CLASS, +#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC,GROUP) CLASS, static unsigned char DiagnosticClassesCommon[] = { #include "clang/Basic/DiagnosticCommonKinds.inc" 0 @@ -163,7 +164,7 @@ static unsigned getBuiltinDiagClass(unsigned DiagID) { /// DiagnosticText - An english message to print for the diagnostic. These /// should be localized. -#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC) DESC, +#define DIAG(ENUM,CLASS,DEFAULT_MAPPING,DESC,GROUP) DESC, static const char * const DiagnosticTextCommon[] = { #include "clang/Basic/DiagnosticCommonKinds.inc" 0 |