diff options
Diffstat (limited to 'tools/render-test/diagnostics.h')
| -rw-r--r-- | tools/render-test/diagnostics.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/render-test/diagnostics.h b/tools/render-test/diagnostics.h new file mode 100644 index 000000000..08ba28e27 --- /dev/null +++ b/tools/render-test/diagnostics.h @@ -0,0 +1,25 @@ +#ifndef SLANG_CORE_DIAGNOSTICS_H +#define SLANG_CORE_DIAGNOSTICS_H + +#include "../../source/core/slang-basic.h" +#include "../../source/core/slang-writer.h" + +#include "../../source/compiler-core/slang-source-loc.h" +#include "../../source/compiler-core/slang-diagnostic-sink.h" + +#include "../../slang.h" + +namespace Slang +{ + +DiagnosticsLookup* getCoreDiagnosticsLookup(); + +namespace RenderTestDiagnostics +{ +#define DIAGNOSTIC(id, severity, name, messageFormat) extern const DiagnosticInfo name; +#include "diagnostic-defs.h" +} + +} + +#endif |
