[cfe-commits] r67346 - in /cfe/trunk: include/clang/AST/ASTDiagnostic.h include/clang/Analysis/AnalysisDiagnostic.h include/clang/Basic/Diagnostic.h include/clang/Driver/DriverDiagnostic.h include/clang/Frontend/FrontendDiagnostic.h include/clang/Lex/LexDiagnostic.h include/clang/Parse/ParseDiagnostic.h include/clang/Sema/SemaDiagnostic.h lib/Basic/Diagnostic.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Thu Mar 19 16:18:26 PDT 2009


Author: cornedbee
Date: Thu Mar 19 18:18:26 2009
New Revision: 67346

URL: http://llvm.org/viewvc/llvm-project?rev=67346&view=rev
Log:
Bindir and Win32 builds work, so switch to .inc files. Leave the .def files in the tree for a day or so longer.

Modified:
    cfe/trunk/include/clang/AST/ASTDiagnostic.h
    cfe/trunk/include/clang/Analysis/AnalysisDiagnostic.h
    cfe/trunk/include/clang/Basic/Diagnostic.h
    cfe/trunk/include/clang/Driver/DriverDiagnostic.h
    cfe/trunk/include/clang/Frontend/FrontendDiagnostic.h
    cfe/trunk/include/clang/Lex/LexDiagnostic.h
    cfe/trunk/include/clang/Parse/ParseDiagnostic.h
    cfe/trunk/include/clang/Sema/SemaDiagnostic.h
    cfe/trunk/lib/Basic/Diagnostic.cpp

Modified: cfe/trunk/include/clang/AST/ASTDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/ASTDiagnostic.h (original)
+++ cfe/trunk/include/clang/AST/ASTDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define ASTSTART
-#include "clang/Basic/DiagnosticASTKinds.def"
+#include "clang/Basic/DiagnosticASTKinds.inc"
 #undef DIAG
       NUM_BUILTIN_AST_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Analysis/AnalysisDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/AnalysisDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/AnalysisDiagnostic.h (original)
+++ cfe/trunk/include/clang/Analysis/AnalysisDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define ANALYSISSTART
-#include "clang/Basic/DiagnosticAnalysisKinds.def"
+#include "clang/Basic/DiagnosticAnalysisKinds.inc"
 #undef DIAG
       NUM_BUILTIN_ANALYSIS_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Thu Mar 19 18:18:26 2009
@@ -50,7 +50,7 @@
     // Get typedefs for common diagnostics.
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
-#include "clang/Basic/DiagnosticCommonKinds.def"
+#include "clang/Basic/DiagnosticCommonKinds.inc"
       NUM_BUILTIN_COMMON_DIAGNOSTICS
 #undef DIAG
     };

Modified: cfe/trunk/include/clang/Driver/DriverDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/DriverDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Driver/DriverDiagnostic.h (original)
+++ cfe/trunk/include/clang/Driver/DriverDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define DRIVERSTART
-#include "clang/Basic/DiagnosticDriverKinds.def"
+#include "clang/Basic/DiagnosticDriverKinds.inc"
 #undef DIAG
       NUM_BUILTIN_DRIVER_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Frontend/FrontendDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/FrontendDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Frontend/FrontendDiagnostic.h (original)
+++ cfe/trunk/include/clang/Frontend/FrontendDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define FRONTENDSTART
-#include "clang/Basic/DiagnosticFrontendKinds.def"
+#include "clang/Basic/DiagnosticFrontendKinds.inc"
 #undef DIAG
       NUM_BUILTIN_FRONTEND_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Lex/LexDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/LexDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/LexDiagnostic.h (original)
+++ cfe/trunk/include/clang/Lex/LexDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define LEXSTART
-#include "clang/Basic/DiagnosticLexKinds.def"
+#include "clang/Basic/DiagnosticLexKinds.inc"
 #undef DIAG
       NUM_BUILTIN_LEX_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Parse/ParseDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/ParseDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/ParseDiagnostic.h (original)
+++ cfe/trunk/include/clang/Parse/ParseDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define PARSESTART
-#include "clang/Basic/DiagnosticParseKinds.def"
+#include "clang/Basic/DiagnosticParseKinds.inc"
 #undef DIAG
       NUM_BUILTIN_PARSE_DIAGNOSTICS
     };

Modified: cfe/trunk/include/clang/Sema/SemaDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/SemaDiagnostic.h?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/include/clang/Sema/SemaDiagnostic.h (original)
+++ cfe/trunk/include/clang/Sema/SemaDiagnostic.h Thu Mar 19 18:18:26 2009
@@ -17,7 +17,7 @@
     enum {
 #define DIAG(ENUM,FLAGS,DESC) ENUM,
 #define SEMASTART
-#include "clang/Basic/DiagnosticSemaKinds.def"
+#include "clang/Basic/DiagnosticSemaKinds.inc"
 #undef DIAG
       NUM_BUILTIN_SEMA_DIAGNOSTICS
     };

Modified: cfe/trunk/lib/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Diagnostic.cpp?rev=67346&r1=67345&r2=67346&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/lib/Basic/Diagnostic.cpp Thu Mar 19 18:18:26 2009
@@ -41,35 +41,35 @@
 /// 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 @@
 /// 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





More information about the cfe-commits mailing list