123456789101112131415161718192021222324252627282930313233343536373839 |
- #pragma once
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wunused-parameter"
- #endif
- #ifndef LLVM_CLANG_BASIC_DIAGNOSTICLEX_H
- #define LLVM_CLANG_BASIC_DIAGNOSTICLEX_H
- #include "clang/Basic/Diagnostic.h"
- namespace clang {
- namespace diag {
- enum {
- #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
- SHOWINSYSHEADER, SHOWINSYSMACRO, DEFERRABLE, CATEGORY) \
- ENUM,
- #define LEXSTART
- #include "clang/Basic/DiagnosticLexKinds.inc"
- #undef DIAG
- NUM_BUILTIN_LEX_DIAGNOSTICS
- };
- }
- }
- #endif
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif
|