Lines Matching full:rewrite
1 //===--- InclusionRewriter.cpp - Rewrite includes into their expansions ---===//
15 #include "clang/Rewrite/Frontend/Rewriters.h"
428 // Rewrite special builtin macros to avoid pulling in host details.
439 // Rewrite __has_include(x)
443 // Rewrite __has_include_next(x)
513 InclusionRewriter *Rewrite = new InclusionRewriter(PP, *OS,
515 PP.addPPCallbacks(Rewrite);
537 Rewrite->setPredefinesBuffer(SM.getBuffer(PP.getPredefinesFileID()));
538 Rewrite->Process(PP.getPredefinesFileID(), SrcMgr::C_User);
539 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User);