Lines Matching full:preprocessor
18 #include "clang/Lex/Preprocessor.h"
30 /// created by preprocessor callbacks.
37 Preprocessor &PP; ///< Used to find inclusion directives.
41 llvm::MemoryBufferRef PredefinesBuffer; ///< The preprocessor predefines.
56 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers,
107 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS, in InclusionRewriter()
129 // http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html in WriteLineInfo()
152 /// FileChanged - Whenever the preprocessor enters or exits a #include file
181 /// This should be called whenever the preprocessor encounters include
520 // the whole #include could be inside a preprocessor conditional in Process()
549 void clang::RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS, in RewriteIncludesInInput()
559 // First let the preprocessor process the entire file and call callbacks. in RewriteIncludesInInput()
563 // Only preprocessor directives matter here, so disable macro expansion in RewriteIncludesInInput()
565 // TODO: It would be even faster if the preprocessor could be switched in RewriteIncludesInInput()
566 // to a mode where it would parse only preprocessor directives and comments, in RewriteIncludesInInput()