From: Chris Lattner Date: Tue, 27 Jan 2009 18:34:53 +0000 (+0000) Subject: add new headers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=132b5beaf31da1213bb95b4631ae390f5e1052c1;p=clang add new headers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63113 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticAST.h b/include/clang/Basic/DiagnosticAST.h new file mode 100644 index 0000000000..4f8382bdca --- /dev/null +++ b/include/clang/Basic/DiagnosticAST.h @@ -0,0 +1,18 @@ +#ifndef LLVM_CLANG_DIAGNOSTICAST_H +#define LLVM_CLANG_DIAGNOSTICAST_H + +#include "clang/Basic/DiagnosticAST.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" +#define ASTSTART +#include "DiagnosticASTKinds.def" + NUM_BUILTIN_AST_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif diff --git a/include/clang/Basic/DiagnosticAnalysis.h b/include/clang/Basic/DiagnosticAnalysis.h new file mode 100644 index 0000000000..fc13eea4c9 --- /dev/null +++ b/include/clang/Basic/DiagnosticAnalysis.h @@ -0,0 +1,18 @@ +#ifndef LLVM_CLANG_DIAGNOSTICANALYSIS_H +#define LLVM_CLANG_DIAGNOSTICANALYSIS_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" +#define ANALYSISSTART +#include "DiagnosticAnalysisKinds.def" + NUM_BUILTIN_ANALYSIS_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif diff --git a/include/clang/Basic/DiagnosticDriver.h b/include/clang/Basic/DiagnosticDriver.h new file mode 100644 index 0000000000..44e93b4d3c --- /dev/null +++ b/include/clang/Basic/DiagnosticDriver.h @@ -0,0 +1,48 @@ +#ifndef LLVM_CLANG_DIAGNOSTICDRIVER_H +#define LLVM_CLANG_DIAGNOSTICDRIVER_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" + NUM_BUILTIN_DRIVER_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif +#ifndef LLVM_CLANG_DIAGNOSTICDRIVER_H +#define LLVM_CLANG_DIAGNOSTICDRIVER_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" + NUM_BUILTIN_DRIVER_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif +#ifndef LLVM_CLANG_DIAGNOSTICDRIVER_H +#define LLVM_CLANG_DIAGNOSTICDRIVER_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" + NUM_BUILTIN_DRIVER_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif diff --git a/include/clang/Basic/DiagnosticLex.h b/include/clang/Basic/DiagnosticLex.h new file mode 100644 index 0000000000..90665b5bad --- /dev/null +++ b/include/clang/Basic/DiagnosticLex.h @@ -0,0 +1,18 @@ +#ifndef LLVM_CLANG_DIAGNOSTICLEX_H +#define LLVM_CLANG_DIAGNOSTICLEX_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" +#define LEXSTART +#include "DiagnosticLexKinds.def" + NUM_BUILTIN_LEX_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif diff --git a/include/clang/Basic/DiagnosticParse.h b/include/clang/Basic/DiagnosticParse.h new file mode 100644 index 0000000000..81a073e841 --- /dev/null +++ b/include/clang/Basic/DiagnosticParse.h @@ -0,0 +1,18 @@ +#ifndef LLVM_CLANG_DIAGNOSTICPARSE_H +#define LLVM_CLANG_DIAGNOSTICPARSE_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" +#define PARSESTART +#include "DiagnosticParseKinds.def" + NUM_BUILTIN_PARSE_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif diff --git a/include/clang/Basic/DiagnosticSema.h b/include/clang/Basic/DiagnosticSema.h new file mode 100644 index 0000000000..9ed7ca4c6e --- /dev/null +++ b/include/clang/Basic/DiagnosticSema.h @@ -0,0 +1,18 @@ +#ifndef LLVM_CLANG_DIAGNOSTICSEMA_H +#define LLVM_CLANG_DIAGNOSTICSEMA_H + +#include "clang/Basic/Diagnostic.h" + +namespace clang { + namespace diag { + enum { +#define DIAG(ENUM,FLAGS,DESC) ENUM, +#include "DiagnosticCommonKinds.def" +#define SEMASTART +#include "DiagnosticSemaKinds.def" + NUM_BUILTIN_SEMA_DIAGNOSTICS + }; + } // end namespace diag +} // end namespace clang + +#endif