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-ir-user-type-hint.cpp | |
| parent | a729c15e9dce9f5116a38afc66329ab2ca4cea54 (diff) | |
format
* format
* Minor test fixes
* enable checking cpp format in ci
Diffstat (limited to 'source/slang/slang-ir-user-type-hint.cpp')
| -rw-r--r-- | source/slang/slang-ir-user-type-hint.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/slang/slang-ir-user-type-hint.cpp b/source/slang/slang-ir-user-type-hint.cpp index 3003d56f6..100794d4a 100644 --- a/source/slang/slang-ir-user-type-hint.cpp +++ b/source/slang/slang-ir-user-type-hint.cpp @@ -1,8 +1,8 @@ #include "slang-ir-user-type-hint.h" -#include "slang-ir.h" #include "slang-ir-insts.h" #include "slang-ir-util.h" +#include "slang-ir.h" namespace Slang { @@ -25,10 +25,13 @@ void addUserTypeHintDecorations(IRModule* module) if (sb.getLength()) { IRBuilder builder(inst); - builder.addDecoration(inst, kIROp_UserTypeNameDecoration, builder.getStringValue(sb.produceString().getUnownedSlice())); + builder.addDecoration( + inst, + kIROp_UserTypeNameDecoration, + builder.getStringValue(sb.produceString().getUnownedSlice())); } } } } -} +} // namespace Slang |
