Lines Matching refs:PP
14 static void dumpTokenInto(const clang::Preprocessor &PP, clang::raw_ostream &OS,
20 const Preprocessor &PP; member in clang::detail::MacroExpansionRangeRecorder
26 const Preprocessor &PP, SourceManager &SM, in MacroExpansionRangeRecorder() argument
28 : PP(PP), SM(SM), ExpansionRanges(ExpansionRanges) {} in MacroExpansionRangeRecorder()
49 (void)PP; in MacroExpands()
51 dumpTokenInto(PP, llvm::dbgs(), MacroName); in MacroExpands()
89 PP = &NewPP; in registerForPreprocessor()
93 PP->addPPCallbacks(std::make_unique<detail::MacroExpansionRangeRecorder>( in registerForPreprocessor()
94 *PP, *SM, ExpansionRanges)); in registerForPreprocessor()
96 PP->setTokenWatcher([this](const Token &Tok) { onTokenLexed(Tok); }); in registerForPreprocessor()
176 static void dumpTokenInto(const Preprocessor &PP, raw_ostream &OS, Token Tok) { in dumpTokenInto() argument
196 unsigned Len = PP.getSpelling(Tok, TokPtr); in dumpTokenInto()
210 dumpTokenInto(*PP, llvm::dbgs(), Tok); llvm::dbgs() << "' at "; in onTokenLexed()
222 dumpTokenInto(*PP, OS, Tok); in onTokenLexed()