Searched refs:NextTok (Results 1 – 5 of 5) sorted by relevance
784 Token *NextTok = begin_tokens + 1; in updateConsecutiveMacroArgTokens() local785 for (; NextTok < end_tokens; ++NextTok) { in updateConsecutiveMacroArgTokens()786 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens()806 Token &LastConsecutiveTok = *(NextTok-1); in updateConsecutiveMacroArgTokens()818 for (; begin_tokens < NextTok; ++begin_tokens) { in updateConsecutiveMacroArgTokens()
326 FormatToken *NextTok; in calculateBraceTypes() local329 NextTok = Tokens->getNextToken(); in calculateBraceTypes()331 } while (NextTok->is(tok::comment)); in calculateBraceTypes()350 ProbablyBracedList = NextTok->isOneOf(tok::comma, tok::r_square); in calculateBraceTypes()354 bool NextIsObjCMethod = NextTok->isOneOf(tok::plus, tok::minus) && in calculateBraceTypes()355 NextTok->OriginalColumn == 0; in calculateBraceTypes()367 NextTok->isOneOf(Keywords.kw_of, Keywords.kw_in)) || in calculateBraceTypes()368 NextTok->isOneOf(tok::comma, tok::period, tok::colon, in calculateBraceTypes()371 (NextTok->is(tok::semi) && in calculateBraceTypes()373 (NextTok->isBinaryOperator() && !NextIsObjCMethod); in calculateBraceTypes()[all …]
339 Token NextTok; in LexTokens() local340 L.LexFromRawLexer(NextTok); in LexTokens()344 if (NextTok.isAtStartOfLine()) in LexTokens()349 Tok = NextTok; in LexTokens()
112 Token NextTok = GetLookAheadToken(1); in CheckForLParenAfterColonColon() local113 Token StarTok = NextTok; in CheckForLParenAfterColonColon()123 NextTok = StarTok.is(tok::star) ? GetLookAheadToken(2) : GetLookAheadToken(1); in CheckForLParenAfterColonColon()124 if (NextTok.is(tok::r_paren)) { in CheckForLParenAfterColonColon()125 RParen = NextTok; in CheckForLParenAfterColonColon()
2292 StringRef NextTok = Parser.getTok().getString(); in ParseInstruction() local2293 if (NextTok == "short") { in ParseInstruction()2301 NextTok.size() + 1); in ParseInstruction()