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

References

tools/clang/lib/Lex/TokenLexer.cpp
  254   for (unsigned I = 0, E = NumTokens; I != E; ++I) {
  254   for (unsigned I = 0, E = NumTokens; I != E; ++I) {
  255     const Token &CurTok = Tokens[I];
  262     if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
  262     if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace())
  267       assert(Tokens[I + 1].is(tok::l_paren) &&
  270       ++I;             // Skip the 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)) {
  334           } else if ((I + 1 != E) && Tokens[I + 1].is(tok::hashhash)) {
  335             ++I; // Skip the following hashhash.
  353           if (VCtx.endsWithPlaceholder() && I + 1 != E &&
  354               Tokens[I + 1].is(tok::hashhash)) {
  355             ++I;
  370       int ArgNo = Macro->getParameterNum(Tokens[I+1].getIdentifierInfo());
  371       assert((ArgNo != -1 || VCtx.isVAOptToken(Tokens[I + 1])) &&
  384           getExpansionLocForMacroDefLoc(Tokens[I+1].getLocation());
  399       ++I;  // Skip arg name.
  407     bool PasteBefore = I != 0 && Tokens[I-1].is(tok::hashhash);
  407     bool PasteBefore = I != 0 && Tokens[I-1].is(tok::hashhash);
  408     bool PasteAfter = I+1 != E && 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);
  409     bool RParenAfter = I+1 != E && Tokens[I+1].is(tok::r_paren);
  566       ++I;