Searched refs:CurTok (Results 1 – 7 of 7) sorted by relevance
39 SmallVector<AsmToken, 1> CurTok; variable80 assert(!CurTok.empty()); in Lex()82 IsAtStartOfStatement = CurTok.front().getKind() == AsmToken::EndOfStatement; in Lex()83 CurTok.erase(CurTok.begin()); in Lex()86 if (CurTok.empty()) { in Lex()88 CurTok.insert(CurTok.begin(), T); in Lex()90 return CurTok.front(); in Lex()95 CurTok.insert(CurTok.begin(), Token); in UnLex()107 return CurTok[0]; in getTok()
48 unsigned &CurTok, bool ReturnComment) { in GetNextRawTok() argument49 assert(CurTok < RawTokens.size() && "Overran eof!"); in GetNextRawTok()52 if (!ReturnComment && RawTokens[CurTok].is(tok::comment)) in GetNextRawTok()53 ++CurTok; in GetNextRawTok()55 return RawTokens[CurTok++]; in GetNextRawTok()
257 const Token &CurTok = Tokens[I]; in ExpandFunctionArguments() local267 if (VCtx.isVAOptToken(CurTok)) { in ExpandFunctionArguments()273 VCtx.sawVAOptFollowedByOpeningParens(CurTok.getLocation(), in ExpandFunctionArguments()371 if (CurTok.isOneOf(tok::hash, tok::hashat)) { in ExpandFunctionArguments()379 CurTok.is(tok::hashat)); in ExpandFunctionArguments()384 getExpansionLocForMacroDefLoc(CurTok.getLocation()); in ExpandFunctionArguments()388 bool Charify = CurTok.is(tok::hashat); in ExpandFunctionArguments()418 IdentifierInfo *II = CurTok.getIdentifierInfo(); in ExpandFunctionArguments()422 ResultToks.push_back(CurTok); in ExpandFunctionArguments()482 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()[all …]
453 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); in tryParseRelocExpression() local454 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus) in tryParseRelocExpression()465 if (CurTok != AsmToken::Identifier || in tryParseRelocExpression()
17 CurTok.emplace_back(AsmToken::Space, StringRef()); in MCAsmLexer()
561 Token *CurTok = nullptr; in ParseExprStatement() local567 CurTok = &Tok; in ParseExprStatement()573 if (CurTok && !R.isInvalid()) in ParseExprStatement()574 CurTok->setAnnotationValue(R.get()); in ParseExprStatement()
4419 Token CurTok = P.getCurToken(); in parseStepSize() local4420 if (CurTok.isNot(tok::r_paren) && CurTok.isNot(tok::comma)) { in parseStepSize()4421 P.Diag(CurTok, diag::err_expected_punc) << "step expression"; in parseStepSize()