summaryrefslogtreecommitdiffstats
path: root/tools/render-test/diagnostics.h
blob: 08ba28e27bbd0aee7bb9279f078a429141b8928d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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