diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 14:49:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 14:49:26 +0800 |
| commit | f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 (patch) | |
| tree | ea1d61342cd29368e19135000ec2948813096205 /source/slang/slang-parameter-binding.h | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'source/slang/slang-parameter-binding.h')
| -rw-r--r-- | source/slang/slang-parameter-binding.h | 15 |
1 files changed, 6 insertions, 9 deletions
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 |
