diff options
Diffstat (limited to 'tools/slang-cpp-extractor/diagnostics.h')
| -rw-r--r-- | tools/slang-cpp-extractor/diagnostics.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/slang-cpp-extractor/diagnostics.h b/tools/slang-cpp-extractor/diagnostics.h new file mode 100644 index 000000000..3a98beee3 --- /dev/null +++ b/tools/slang-cpp-extractor/diagnostics.h @@ -0,0 +1,17 @@ +#ifndef CPP_EXTRACT_DIAGNOSTICS_H +#define CPP_EXTRACT_DIAGNOSTICS_H + +#include "../../source/slang/slang-diagnostics.h" + +namespace CppExtract { +using namespace Slang; + +namespace CPPDiagnostics { + +#define DIAGNOSTIC(id, severity, name, messageFormat) extern const DiagnosticInfo name; +#include "diagnostic-defs.h" + +} // CPPDiagnostics +} // CppExtract + +#endif |
