summaryrefslogtreecommitdiffstats
path: root/tools/render-test/diagnostics.h
blob: 26872f5fafc42d78c86cdb9489ba94485c998f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SLANG_CORE_DIAGNOSTICS_H
#define SLANG_CORE_DIAGNOSTICS_H

#include "../../source/compiler-core/slang-diagnostic-sink.h"
#include "../../source/compiler-core/slang-source-loc.h"
#include "../../source/core/slang-basic.h"
#include "../../source/core/slang-writer.h"
#include "slang.h"

namespace Slang
{

DiagnosticsLookup* getCoreDiagnosticsLookup();

namespace RenderTestDiagnostics
{
#define DIAGNOSTIC(id, severity, name, messageFormat) extern const DiagnosticInfo name;
#include "diagnostic-defs.h"
} // namespace RenderTestDiagnostics

} // namespace Slang

#endif