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

namespace TestServer
{
using namespace Slang;

namespace ServerDiagnostics
{

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

} // namespace ServerDiagnostics
} // namespace TestServer

#endif