summaryrefslogtreecommitdiffstats
path: root/tools/test-server/test-server-diagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-server/test-server-diagnostics.cpp')
-rw-r--r--tools/test-server/test-server-diagnostics.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/test-server/test-server-diagnostics.cpp b/tools/test-server/test-server-diagnostics.cpp
new file mode 100644
index 000000000..ddefc53d3
--- /dev/null
+++ b/tools/test-server/test-server-diagnostics.cpp
@@ -0,0 +1,13 @@
+#include "test-server-diagnostics.h"
+
+namespace TestServer {
+
+namespace ServerDiagnostics
+{
+using namespace Slang;
+
+#define DIAGNOSTIC(id, severity, name, messageFormat) const DiagnosticInfo name = { id, Severity::severity, #name, messageFormat };
+#include "test-server-diagnostic-defs.h"
+}
+
+} // namespace TestServer