• Home
  • Raw
  • Download

Lines Matching refs:Tokens

41   Tokens = &*Macro->tokens_begin();  in Init()
51 assert(Tokens[0].getLocation().isValid()); in Init()
52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
91 Tokens = TokArray; in Init()
115 delete [] Tokens; in destroy()
116 Tokens = nullptr; in destroy()
184 const Token &CurTok = Tokens[i]; in ExpandFunctionArguments()
185 if (i != 0 && !Tokens[i-1].is(tok::hashhash) && CurTok.hasLeadingSpace()) in ExpandFunctionArguments()
189 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments()
195 getExpansionLocForMacroDefLoc(Tokens[i+1].getLocation()); in ExpandFunctionArguments()
226 bool PasteBefore = i != 0 && Tokens[i-1].is(tok::hashhash); in ExpandFunctionArguments()
227 bool PasteAfter = i+1 != e && Tokens[i+1].is(tok::hashhash); in ExpandFunctionArguments()
402 Tokens = PP.cacheMacroExpandedTokens(this, ResultToks); in ExpandFunctionArguments()
441 Tok = Tokens[CurToken++]; in Lex()
448 (Tokens[CurToken].is(tok::hashhash) || in Lex()
453 isWideStringLiteralFromMacro(Tok, Tokens[CurToken])))) { in Lex()
528 Tokens[CurToken - 2].is(tok::hashhash)) in PasteTokens()
537 PasteOpLoc = Tokens[CurToken].getLocation(); in PasteTokens()
538 if (Tokens[CurToken].is(tok::hashhash)) in PasteTokens()
543 const Token &RHS = Tokens[CurToken]; in PasteTokens()
667 } while (!isAtEnd() && Tokens[CurToken].is(tok::hashhash)); in PasteTokens()
669 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens()
708 return Tokens[CurToken].is(tok::l_paren); in isNextTokenLParen()
714 return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd(); in isParsingPreprocessorDirective()