@@ -115,14 +115,14 @@ class RootSignatureParser {
115
115
bool ParseDescriptorTable ();
116
116
bool ParseDescriptorTableClause ();
117
117
118
- // Helper dispatch method
119
- //
120
- // These will switch on the Variant kind to dispatch to the respective Parse
121
- // method and store the parsed value back into Ref.
122
- //
123
- // It is helpful to have a generalized dispatch method so that when we need
124
- // to parse multiple optional parameters in any order, we can invoke this
125
- // method
118
+ // / Helper dispatch method
119
+ // /
120
+ // / These will switch on the Variant kind to dispatch to the respective Parse
121
+ // / method and store the parsed value back into Ref.
122
+ // /
123
+ // / It is helpful to have a generalized dispatch method so that when we need
124
+ // / to parse multiple optional parameters in any order, we can invoke this
125
+ // / method
126
126
bool ParseParam (llvm::hlsl::rootsig::ParamType Ref);
127
127
128
128
// Parse as many optional parameters as possible in any order
@@ -158,18 +158,18 @@ class RootSignatureParser {
158
158
return false ;
159
159
}
160
160
161
- // Attempt to retrieve the next token, if TokenKind is invalid then there was
162
- // no next token.
161
+ // / Attempt to retrieve the next token, if TokenKind is invalid then there was
162
+ // / no next token.
163
163
RootSignatureToken PeekNextToken ();
164
164
165
- // Is the current token one of the expected kinds
165
+ // / Is the current token one of the expected kinds
166
166
bool EnsureExpectedToken (TokenKind AnyExpected);
167
167
bool EnsureExpectedToken (ArrayRef<TokenKind> AnyExpected);
168
168
169
- // Peek if the next token is of the expected kind.
170
- //
171
- // Return value denotes if it failed to match the expected kind, either it is
172
- // the end of the stream or it didn't match any of the expected kinds.
169
+ // / Peek if the next token is of the expected kind.
170
+ // /
171
+ // / Return value denotes if it failed to match the expected kind, either it is
172
+ // / the end of the stream or it didn't match any of the expected kinds.
173
173
bool PeekExpectedToken (TokenKind Expected);
174
174
bool PeekExpectedToken (ArrayRef<TokenKind> AnyExpected);
175
175
@@ -181,12 +181,12 @@ class RootSignatureParser {
181
181
bool ConsumeExpectedToken (TokenKind Expected);
182
182
bool ConsumeExpectedToken (ArrayRef<TokenKind> AnyExpected);
183
183
184
- // Peek if the next token is of the expected kind and if it is then consume
185
- // it.
186
- //
187
- // Return value denotes if it failed to match the expected kind, either it is
188
- // the end of the stream or it didn't match any of the expected kinds. It will
189
- // not report an error if there isn't a match.
184
+ // / Peek if the next token is of the expected kind and if it is then consume
185
+ // / it.
186
+ // /
187
+ // / Return value denotes if it failed to match the expected kind, either it is
188
+ // / the end of the stream or it didn't match any of the expected kinds. It
189
+ // / will not report an error if there isn't a match.
190
190
bool TryConsumeExpectedToken (TokenKind Expected);
191
191
bool TryConsumeExpectedToken (ArrayRef<TokenKind> Expected);
192
192
0 commit comments