diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 12:00:12 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 12:00:12 +0000 |
| commit | 51e037e3c48a2e7ed8c267281a3022cce977afdd (patch) | |
| tree | e6de98ab7166a99cfb34223593c6f83ca8f7c429 /clang/lib | |
| parent | f2e58d6694cc1a6d0a4311fde54e5bd6bdce6ffb (diff) | |
| download | bcm5719-llvm-51e037e3c48a2e7ed8c267281a3022cce977afdd.tar.gz bcm5719-llvm-51e037e3c48a2e7ed8c267281a3022cce977afdd.zip | |
Switch diagnostics from .def to tablegen files. Please validate the Windows build.
llvm-svn: 67007
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Basic/Diagnostic.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/clang/lib/Basic/Diagnostic.cpp b/clang/lib/Basic/Diagnostic.cpp index 890b0c2ca5b..c7e5f096e96 100644 --- a/clang/lib/Basic/Diagnostic.cpp +++ b/clang/lib/Basic/Diagnostic.cpp @@ -41,35 +41,35 @@ enum { /// diagnostic. #define DIAG(ENUM,FLAGS,DESC) FLAGS, static unsigned char DiagnosticFlagsCommon[] = { -#include "clang/Basic/DiagnosticCommonKinds.def" +#include "clang/Basic/DiagnosticCommonKinds.inc" 0 }; static unsigned char DiagnosticFlagsDriver[] = { -#include "clang/Basic/DiagnosticDriverKinds.def" +#include "clang/Basic/DiagnosticDriverKinds.inc" 0 }; static unsigned char DiagnosticFlagsFrontend[] = { -#include "clang/Basic/DiagnosticFrontendKinds.def" +#include "clang/Basic/DiagnosticFrontendKinds.inc" 0 }; static unsigned char DiagnosticFlagsLex[] = { -#include "clang/Basic/DiagnosticLexKinds.def" +#include "clang/Basic/DiagnosticLexKinds.inc" 0 }; static unsigned char DiagnosticFlagsParse[] = { -#include "clang/Basic/DiagnosticParseKinds.def" +#include "clang/Basic/DiagnosticParseKinds.inc" 0 }; static unsigned char DiagnosticFlagsAST[] = { -#include "clang/Basic/DiagnosticASTKinds.def" +#include "clang/Basic/DiagnosticASTKinds.inc" 0 }; static unsigned char DiagnosticFlagsSema[] = { -#include "clang/Basic/DiagnosticSemaKinds.def" +#include "clang/Basic/DiagnosticSemaKinds.inc" 0 }; static unsigned char DiagnosticFlagsAnalysis[] = { -#include "clang/Basic/DiagnosticAnalysisKinds.def" +#include "clang/Basic/DiagnosticAnalysisKinds.inc" 0 }; #undef DIAG @@ -103,35 +103,35 @@ static unsigned getBuiltinDiagClass(unsigned DiagID) { /// should be localized. #define DIAG(ENUM,FLAGS,DESC) DESC, static const char * const DiagnosticTextCommon[] = { -#include "clang/Basic/DiagnosticCommonKinds.def" +#include "clang/Basic/DiagnosticCommonKinds.inc" 0 }; static const char * const DiagnosticTextDriver[] = { -#include "clang/Basic/DiagnosticDriverKinds.def" +#include "clang/Basic/DiagnosticDriverKinds.inc" 0 }; static const char * const DiagnosticTextFrontend[] = { -#include "clang/Basic/DiagnosticFrontendKinds.def" +#include "clang/Basic/DiagnosticFrontendKinds.inc" 0 }; static const char * const DiagnosticTextLex[] = { -#include "clang/Basic/DiagnosticLexKinds.def" +#include "clang/Basic/DiagnosticLexKinds.inc" 0 }; static const char * const DiagnosticTextParse[] = { -#include "clang/Basic/DiagnosticParseKinds.def" +#include "clang/Basic/DiagnosticParseKinds.inc" 0 }; static const char * const DiagnosticTextAST[] = { -#include "clang/Basic/DiagnosticASTKinds.def" +#include "clang/Basic/DiagnosticASTKinds.inc" 0 }; static const char * const DiagnosticTextSema[] = { -#include "clang/Basic/DiagnosticSemaKinds.def" +#include "clang/Basic/DiagnosticSemaKinds.inc" 0 }; static const char * const DiagnosticTextAnalysis[] = { -#include "clang/Basic/DiagnosticAnalysisKinds.def" +#include "clang/Basic/DiagnosticAnalysisKinds.inc" 0 }; #undef DIAG |

