reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Lex/PPMacroExpansion.cpp
 1041       prevLexer->Tokens = MacroExpandedTokens.data() + tokIndex;
tools/clang/lib/Lex/TokenLexer.cpp
   53   Tokens = &*Macro->tokens_begin();
   64     assert(Tokens[0].getLocation().isValid());
   65     assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) &&
   65     assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) &&
   73     MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation());
  104   Tokens = TokArray;
  128     delete [] Tokens;
  129     Tokens = nullptr;
  255     const Token &CurTok = Tokens[I];
  262     if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
  267       assert(Tokens[I + 1].is(tok::l_paren) &&
  290       if (Tokens[I].is(tok::l_paren))
  291         VCtx.sawOpeningParen(Tokens[I].getLocation());
  296       if (!Tokens[I].is(tok::r_paren) || !VCtx.sawClosingParen()) {
  323                                  /*ClosingParenLoc*/ Tokens[I].getLocation());
  334           } else if ((I + 1 != E) && Tokens[I + 1].is(tok::hashhash)) {
  354               Tokens[I + 1].is(tok::hashhash)) {
  370       int ArgNo = Macro->getParameterNum(Tokens[I+1].getIdentifierInfo());
  371       assert((ArgNo != -1 || VCtx.isVAOptToken(Tokens[I + 1])) &&
  384           getExpansionLocForMacroDefLoc(Tokens[I+1].getLocation());
  407     bool PasteBefore = I != 0 && Tokens[I-1].is(tok::hashhash);
  408     bool PasteAfter = I+1 != E && Tokens[I+1].is(tok::hashhash);
  409     bool RParenAfter = I+1 != E && Tokens[I+1].is(tok::r_paren);
  607     Tokens = PP.cacheMacroExpandedTokens(this, ResultToks);
  645   Tok = Tokens[CurTokenIdx++];
  654       (Tokens[CurTokenIdx].is(tok::hashhash) ||
  659         isWideStringLiteralFromMacro(Tok, Tokens[CurTokenIdx])))) {
  726   return pasteTokens(Tok, llvm::makeArrayRef(Tokens, NumTokens), CurTokenIdx);
  932   return Tokens[CurTokenIdx].is(tok::l_paren);
  938   return Tokens[NumTokens-1].is(tok::eod) && !isAtEnd();