mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 12:36:07 +00:00
Bindir and Win32 builds work, so switch to .inc files. Leave the .def files in the tree for a day or so longer.
llvm-svn: 67346
This commit is contained in:
parent
f9ccd5cdc2
commit
90b6edda75
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -50,7 +50,7 @@ namespace clang {
|
||||
// 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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ namespace clang {
|
||||
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
|
||||
};
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user