Skip to content

Commit 7699691

Browse files
author
Finn Plummer
committed
self-review: clang-format fix up
1 parent ebab0ca commit 7699691

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Parse/ParseHLSLRootSignature.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ bool RootSignatureParser::parseDescriptorTableClause() {
137137
}
138138

139139
// Helper struct defined to use the overloaded notation of std::visit.
140-
template <class... Ts> struct ParseMethods : Ts... { using Ts::operator()...; };
141-
template <class... Ts> ParseMethods(Ts...) -> ParseMethods<Ts...>;
140+
template <class... Ts> struct ParseMethod : Ts... { using Ts::operator()...; };
141+
template <class... Ts> ParseMethod(Ts...) -> ParseMethod<Ts...>;
142142

143143
bool RootSignatureParser::parseParam(ParamType Ref) {
144144
return std::visit(
145-
ParseMethods{
145+
ParseMethod{
146146
[this](Register *X) -> bool { return parseRegister(X); },
147147
[this](uint32_t *X) -> bool {
148148
return consumeExpectedToken(TokenKind::pu_equal,

0 commit comments

Comments
 (0)