summaryrefslogtreecommitdiffstats
path: root/tools/test-server/test-server-diagnostics.h
blob: be816135a86bec9322bf54433f0bfaf5b10bbeda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef TEST_SERVER_DIAGNOSTICS_H
#define TEST_SERVER_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"

namespace TestServer {
using namespace Slang;

namespace ServerDiagnostics {

#define DIAGNOSTIC(id, severity, name, messageFormat) extern const DiagnosticInfo name;
#include "test-server-diagnostic-defs.h"

} // ServerDiagnostics
} // TestServer

#endif