File indexing completed on 2026-05-10 08:36:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_CLANG_BASIC_DIAGNOSTICINSTALLAPI_H
0010 #define LLVM_CLANG_BASIC_DIAGNOSTICINSTALLAPI_H
0011
0012 #include "clang/Basic/Diagnostic.h"
0013 namespace clang {
0014 namespace diag {
0015 enum {
0016 #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
0017 SHOWINSYSHEADER, SHOWINSYSMACRO, DEFERRABLE, CATEGORY) \
0018 ENUM,
0019 #define INSTALLAPISTART
0020 #include "clang/Basic/DiagnosticInstallAPIKinds.inc"
0021 #undef DIAG
0022 NUM_BUILTIN_INSTALLAPI_DIAGNOSTICS
0023 };
0024
0025 #define DIAG_ENUM(ENUM_NAME) \
0026 namespace ENUM_NAME { \
0027 enum {
0028 #define DIAG_ENUM_ITEM(IDX, NAME) NAME = IDX,
0029 #define DIAG_ENUM_END() \
0030 } \
0031 ; \
0032 }
0033 #include "clang/Basic/DiagnosticInstallAPIEnums.inc"
0034 #undef DIAG_ENUM_END
0035 #undef DIAG_ENUM_ITEM
0036 #undef DIAG_ENUM
0037 }
0038 }
0039 #endif