Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ccffe1f

Browse files
committedFeb 12, 2025
clang format visit function
1 parent 1df2567 commit ccffe1f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed
 

‎clang/lib/Parse/ParseHLSLRootSignature.cpp

+12-11
Original file line numberDiff line numberDiff line change
@@ -365,17 +365,18 @@ bool RootSignatureParser::ParseParam(ParamType Ref) {
365365
return true;
366366

367367
bool Error;
368-
std::visit(OverloadedMethods{[&](uint32_t *X) { Error = ParseUInt(X); },
369-
[&](DescriptorRangeOffset *X) {
370-
Error = ParseDescriptorRangeOffset(X);
371-
},
372-
[&](DescriptorRangeFlags *Flags) {
373-
Error = ParseDescriptorRangeFlags(Flags);
374-
},
375-
[&](ShaderVisibility *Enum) {
376-
Error = ParseShaderVisibility(Enum);
377-
},
378-
}, Ref);
368+
std::visit(
369+
OverloadedMethods{
370+
[&](uint32_t *X) { Error = ParseUInt(X); },
371+
[&](DescriptorRangeOffset *X) {
372+
Error = ParseDescriptorRangeOffset(X);
373+
},
374+
[&](DescriptorRangeFlags *Flags) {
375+
Error = ParseDescriptorRangeFlags(Flags);
376+
},
377+
[&](ShaderVisibility *Enum) { Error = ParseShaderVisibility(Enum); },
378+
},
379+
Ref);
379380

380381
return Error;
381382
}

0 commit comments

Comments
 (0)
Please sign in to comment.