diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 15:58:54 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-14 15:58:54 +0000 |
commit | 4ae9b126fe193a5c60152998b2016a65f80af787 (patch) | |
tree | a450189da2369dc035fc2fce625b99af1972ac63 /clang/lib/Basic/Diagnostic.cpp | |
parent | 6c2d55922f8a47a4a287cc11e39bd8b35ac8b242 (diff) | |
download | bcm5719-llvm-4ae9b126fe193a5c60152998b2016a65f80af787.tar.gz bcm5719-llvm-4ae9b126fe193a5c60152998b2016a65f80af787.zip |
Revert the switch to the tablegen diags. It fails for seperate objdir builds and cmake builds, and I have no clue what to do about it. Revisit this after someone with a clue about the build systems has looked at it.
llvm-svn: 67009
Diffstat (limited to 'clang/lib/Basic/Diagnostic.cpp')
-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 c7e5f096e96..890b0c2ca5b 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.inc" +#include "clang/Basic/DiagnosticCommonKinds.def" 0 }; static unsigned char DiagnosticFlagsDriver[] = { -#include "clang/Basic/DiagnosticDriverKinds.inc" +#include "clang/Basic/DiagnosticDriverKinds.def" 0 }; static unsigned char DiagnosticFlagsFrontend[] = { -#include "clang/Basic/DiagnosticFrontendKinds.inc" +#include "clang/Basic/DiagnosticFrontendKinds.def" 0 }; static unsigned char DiagnosticFlagsLex[] = { -#include "clang/Basic/DiagnosticLexKinds.inc" +#include "clang/Basic/DiagnosticLexKinds.def" 0 }; static unsigned char DiagnosticFlagsParse[] = { -#include "clang/Basic/DiagnosticParseKinds.inc" +#include "clang/Basic/DiagnosticParseKinds.def" 0 }; static unsigned char DiagnosticFlagsAST[] = { -#include "clang/Basic/DiagnosticASTKinds.inc" +#include "clang/Basic/DiagnosticASTKinds.def" 0 }; static unsigned char DiagnosticFlagsSema[] = { -#include "clang/Basic/DiagnosticSemaKinds.inc" +#include "clang/Basic/DiagnosticSemaKinds.def" 0 }; static unsigned char DiagnosticFlagsAnalysis[] = { -#include "clang/Basic/DiagnosticAnalysisKinds.inc" +#include "clang/Basic/DiagnosticAnalysisKinds.def" 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.inc" +#include "clang/Basic/DiagnosticCommonKinds.def" 0 }; static const char * const DiagnosticTextDriver[] = { -#include "clang/Basic/DiagnosticDriverKinds.inc" +#include "clang/Basic/DiagnosticDriverKinds.def" 0 }; static const char * const DiagnosticTextFrontend[] = { -#include "clang/Basic/DiagnosticFrontendKinds.inc" +#include "clang/Basic/DiagnosticFrontendKinds.def" 0 }; static const char * const DiagnosticTextLex[] = { -#include "clang/Basic/DiagnosticLexKinds.inc" +#include "clang/Basic/DiagnosticLexKinds.def" 0 }; static const char * const DiagnosticTextParse[] = { -#include "clang/Basic/DiagnosticParseKinds.inc" +#include "clang/Basic/DiagnosticParseKinds.def" 0 }; static const char * const DiagnosticTextAST[] = { -#include "clang/Basic/DiagnosticASTKinds.inc" +#include "clang/Basic/DiagnosticASTKinds.def" 0 }; static const char * const DiagnosticTextSema[] = { -#include "clang/Basic/DiagnosticSemaKinds.inc" +#include "clang/Basic/DiagnosticSemaKinds.def" 0 }; static const char * const DiagnosticTextAnalysis[] = { -#include "clang/Basic/DiagnosticAnalysisKinds.inc" +#include "clang/Basic/DiagnosticAnalysisKinds.def" 0 }; #undef DIAG |