summaryrefslogtreecommitdiffstats
path: root/tools/test-server/test-server-diagnostics.cpp
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-10-29 14:49:26 +0800
committerGitHub <noreply@github.com>2024-10-29 14:49:26 +0800
commitf65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch)
treeea1d61342cd29368e19135000ec2948813096205 /tools/test-server/test-server-diagnostics.cpp
parenta729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff)
format
* format * Minor test fixes * enable checking cpp format in ci
Diffstat (limited to 'tools/test-server/test-server-diagnostics.cpp')
-rw-r--r--tools/test-server/test-server-diagnostics.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/test-server/test-server-diagnostics.cpp b/tools/test-server/test-server-diagnostics.cpp
index ddefc53d3..8fb1f5a43 100644
--- a/tools/test-server/test-server-diagnostics.cpp
+++ b/tools/test-server/test-server-diagnostics.cpp
@@ -1,13 +1,15 @@
#include "test-server-diagnostics.h"
-namespace TestServer {
+namespace TestServer
+{
namespace ServerDiagnostics
{
using namespace Slang;
-#define DIAGNOSTIC(id, severity, name, messageFormat) const DiagnosticInfo name = { id, Severity::severity, #name, messageFormat };
+#define DIAGNOSTIC(id, severity, name, messageFormat) \
+ const DiagnosticInfo name = {id, Severity::severity, #name, messageFormat};
#include "test-server-diagnostic-defs.h"
-}
+} // namespace ServerDiagnostics
} // namespace TestServer