Lines Matching refs:Tokens
39 Tokens = &*Macro->tokens_begin(); in Init()
49 assert(Tokens[0].getLocation().isValid()); in Init()
50 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
58 SourceLocation macroStart = SM.getInstantiationLoc(Tokens[0].getLocation()); in Init()
89 Tokens = TokArray; in Init()
112 delete [] Tokens; in destroy()
113 Tokens = 0; in destroy()
142 const Token &CurTok = Tokens[i]; in ExpandFunctionArguments()
144 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments()
197 bool PasteAfter = i+1 != e && Tokens[i+1].is(tok::hashhash); in ExpandFunctionArguments()
324 NextTokGetsSpace |= Tokens[i+1].hasLeadingSpace(); in ExpandFunctionArguments()
364 Tokens = PP.cacheMacroExpandedTokens(this, ResultToks); in ExpandFunctionArguments()
398 Tok = Tokens[CurToken++]; in Lex()
404 if (!isAtEnd() && Tokens[CurToken].is(tok::hashhash) && Macro) { in Lex()
475 PasteOpLoc = Tokens[CurToken].getLocation(); in PasteTokens()
480 const Token &RHS = Tokens[CurToken]; in PasteTokens()
605 } while (!isAtEnd() && Tokens[CurToken].is(tok::hashhash)); in PasteTokens()
643 return Tokens[CurToken].is(tok::l_paren); in isNextTokenLParen()
649 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()