Lines Matching refs:PP
62 static void LexRawTokensFromMainFile(Preprocessor &PP, in LexRawTokensFromMainFile() argument
64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
82 PP.LookUpIdentifierInfo(RawTok); in LexRawTokensFromMainFile()
90 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) { in RewriteMacrosInInput() argument
91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
104 PP.EnterMainSourceFile(); in RewriteMacrosInInput()
106 PP.Lex(PPTok); in RewriteMacrosInInput()
119 PP.Lex(PPTok); in RewriteMacrosInInput()
160 PP.Lex(PPTok); in RewriteMacrosInInput()
198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
199 PP.Lex(PPTok); in RewriteMacrosInInput()