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 --- source/slang/slang-parameter-binding.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'source/slang/slang-parameter-binding.h') diff --git a/source/slang/slang-parameter-binding.h b/source/slang/slang-parameter-binding.h index 3bf44f90d..4f5f5f303 100644 --- a/source/slang/slang-parameter-binding.h +++ b/source/slang/slang-parameter-binding.h @@ -3,10 +3,10 @@ #include "../core/slang-basic.h" #include "slang-syntax.h" - #include "slang.h" -namespace Slang { +namespace Slang +{ class Program; class TargetRequest; @@ -24,19 +24,16 @@ class TargetRequest; // and attach that information to the syntax nodes // of the program. -void generateParameterBindings( - Program* program, - TargetRequest* targetReq, - DiagnosticSink* sink); +void generateParameterBindings(Program* program, TargetRequest* targetReq, DiagnosticSink* sink); /// Given a string that specifies a name and index (e.g., `COLOR0`), /// split it into slices for the name part and the index part. -/// +/// bool splitNameAndIndex( UnownedStringSlice const& text, UnownedStringSlice& outName, UnownedStringSlice& outDigits); -} +} // namespace Slang -#endif +#endif -- cgit v1.2.3