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() local264 if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace()) in ExpandFunctionArguments()267 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()[all …]
458 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); in tryParseRelocExpression() 459 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus) in tryParseRelocExpression() 470 if (CurTok != AsmToken::Identifier || in tryParseRelocExpression() 453 AsmToken::TokenKind CurTok = Parser.getLexer().getKind(); tryParseRelocExpression() local
17 CurTok.emplace_back(AsmToken::Space, StringRef()); in MCAsmLexer()
576 Token *CurTok = nullptr; in ParseExprStatement() 579 CurTok = &Tok;585 if (CurTok && !R.isInvalid())586 CurTok->setAnnotationValue(R.get());561 Token *CurTok = nullptr; ParseExprStatement() local
4362 Token CurTok = P.getCurToken(); in ParseOpenMPIteratorsExpr() 4363 if (CurTok.isNot(tok::r_paren) && CurTok.isNot(tok::comma)) { in ParseOpenMPIteratorsExpr() 4364 P.Diag(CurTok, diag::err_expected_punc) << "step expression"; in ParseOpenMPIteratorsExpr() 4419 Token CurTok = P.getCurToken(); parseStepSize() local