@@ -147,7 +147,7 @@ bool RootSignatureParser::parseParam(ParamType Ref) {
147147 [this ](uint32_t *X) -> bool {
148148 return consumeExpectedToken (TokenKind::pu_equal,
149149 diag::err_expected_after,
150- CurToken.Kind ) ||
150+ CurToken.TokKind ) ||
151151 parseUIntParam (X);
152152 },
153153 },
@@ -167,14 +167,14 @@ bool RootSignatureParser::parseParams(
167167 llvm::SmallDenseSet<TokenKind> Seen;
168168
169169 while (tryConsumeExpectedToken (Keywords)) {
170- if (Seen.contains (CurToken.Kind )) {
170+ if (Seen.contains (CurToken.TokKind )) {
171171 getDiags ().Report (CurToken.TokLoc , diag::err_hlsl_rootsig_repeat_param)
172- << CurToken.Kind ;
172+ << CurToken.TokKind ;
173173 return true ;
174174 }
175- Seen.insert (CurToken.Kind );
175+ Seen.insert (CurToken.TokKind );
176176
177- if (parseParam (Params[CurToken.Kind ]))
177+ if (parseParam (Params[CurToken.TokKind ]))
178178 return true ;
179179
180180 if (!tryConsumeExpectedToken (TokenKind::pu_comma))
@@ -195,21 +195,21 @@ bool RootSignatureParser::parseParams(
195195}
196196
197197bool RootSignatureParser::parseUIntParam (uint32_t *X) {
198- assert (CurToken.Kind == TokenKind::pu_equal &&
198+ assert (CurToken.TokKind == TokenKind::pu_equal &&
199199 " Expects to only be invoked starting at given keyword" );
200200 tryConsumeExpectedToken (TokenKind::pu_plus);
201201 return consumeExpectedToken (TokenKind::int_literal, diag::err_expected_after,
202- CurToken.Kind ) ||
202+ CurToken.TokKind ) ||
203203 handleUIntLiteral (X);
204204}
205205
206206bool RootSignatureParser::parseRegister (Register *Register) {
207207 assert (
208- (CurToken.Kind == TokenKind::bReg || CurToken.Kind == TokenKind::tReg ||
209- CurToken.Kind == TokenKind::uReg || CurToken.Kind == TokenKind::sReg ) &&
208+ (CurToken.TokKind == TokenKind::bReg || CurToken.TokKind == TokenKind::tReg ||
209+ CurToken.TokKind == TokenKind::uReg || CurToken.TokKind == TokenKind::sReg ) &&
210210 " Expects to only be invoked starting at given keyword" );
211211
212- switch (CurToken.Kind ) {
212+ switch (CurToken.TokKind ) {
213213 default :
214214 llvm_unreachable (" Switch for consumed token was not provided" );
215215 case TokenKind::bReg:
0 commit comments