From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- tools/render-test/diagnostics.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tools/render-test/diagnostics.h') diff --git a/tools/render-test/diagnostics.h b/tools/render-test/diagnostics.h index fa4c8a389..26872f5fa 100644 --- a/tools/render-test/diagnostics.h +++ b/tools/render-test/diagnostics.h @@ -1,12 +1,10 @@ #ifndef SLANG_CORE_DIAGNOSTICS_H #define SLANG_CORE_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" - -#include "../../source/compiler-core/slang-source-loc.h" -#include "../../source/compiler-core/slang-diagnostic-sink.h" - #include "slang.h" namespace Slang @@ -18,8 +16,8 @@ namespace RenderTestDiagnostics { #define DIAGNOSTIC(id, severity, name, messageFormat) extern const DiagnosticInfo name; #include "diagnostic-defs.h" -} +} // namespace RenderTestDiagnostics -} +} // namespace Slang #endif -- cgit v1.2.3