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

References

tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp
  725       Callbacks->MoveToLine(Tok.getLocation());
  729     if (Tok.isAtStartOfLine() && Callbacks->HandleFirstTokOnLine(Tok)) {
  729     if (Tok.isAtStartOfLine() && Callbacks->HandleFirstTokOnLine(Tok)) {
  731     } else if (Tok.hasLeadingSpace() ||
  736                 Callbacks->AvoidConcat(PrevPrevTok, PrevTok, Tok))) {
  740     if (DropComments && Tok.is(tok::comment)) {
  744       SourceLocation StartLoc = Tok.getLocation();
  745       Callbacks->MoveToLine(StartLoc.getLocWithOffset(Tok.getLength()));
  746     } else if (Tok.is(tok::eod)) {
  750       PP.Lex(Tok);
  752     } else if (Tok.is(tok::annot_module_include)) {
  755       PP.Lex(Tok);
  757     } else if (Tok.is(tok::annot_module_begin)) {
  765           reinterpret_cast<Module *>(Tok.getAnnotationValue()));
  766       PP.Lex(Tok);
  768     } else if (Tok.is(tok::annot_module_end)) {
  770           reinterpret_cast<Module *>(Tok.getAnnotationValue()));
  771       PP.Lex(Tok);
  773     } else if (Tok.is(tok::annot_header_unit)) {
  778       Module *M = reinterpret_cast<Module *>(Tok.getAnnotationValue());
  782     } else if (Tok.isAnnotation()) {
  785       PP.Lex(Tok);
  787     } else if (IdentifierInfo *II = Tok.getIdentifierInfo()) {
  789     } else if (Tok.isLiteral() && !Tok.needsCleaning() &&
  789     } else if (Tok.isLiteral() && !Tok.needsCleaning() &&
  790                Tok.getLiteralData()) {
  791       OS.write(Tok.getLiteralData(), Tok.getLength());
  791       OS.write(Tok.getLiteralData(), Tok.getLength());
  792     } else if (Tok.getLength() < llvm::array_lengthof(Buffer)) {
  794       unsigned Len = PP.getSpelling(Tok, TokPtr);
  799       if (Tok.getKind() == tok::comment || Tok.getKind() == tok::unknown)
  799       if (Tok.getKind() == tok::comment || Tok.getKind() == tok::unknown)
  802       std::string S = PP.getSpelling(Tok);
  807       if (Tok.getKind() == tok::comment || Tok.getKind() == tok::unknown)
  807       if (Tok.getKind() == tok::comment || Tok.getKind() == tok::unknown)
  812     if (Tok.is(tok::eof)) break;
  815     PrevTok = Tok;
  816     PP.Lex(Tok);