Lines Matching refs:PP
61 static void LexRawTokensFromMainFile(Preprocessor &PP, in LexRawTokensFromMainFile() argument
63 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile()
68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
81 PP.LookUpIdentifierInfo(RawTok); in LexRawTokensFromMainFile()
89 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) { in RewriteMacrosInInput() argument
90 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput()
93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
97 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput()
103 PP.EnterMainSourceFile(); in RewriteMacrosInInput()
105 PP.Lex(PPTok); in RewriteMacrosInInput()
118 PP.Lex(PPTok); in RewriteMacrosInInput()
159 PP.Lex(PPTok); in RewriteMacrosInInput()
197 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
198 PP.Lex(PPTok); in RewriteMacrosInInput()