Home
last modified time | relevance | path

Searched refs:RewriteBuf (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp90 const RewriteBuffer &RewriteBuf = R.getEditBuffer(FID); in HandleTranslationUnit() local
91 char *Buffer = (char*)malloc(RewriteBuf.size()); in HandleTranslationUnit()
92 std::copy(RewriteBuf.begin(), RewriteBuf.end(), Buffer); in HandleTranslationUnit()
93 Out->write(Buffer, RewriteBuf.size()); in HandleTranslationUnit()
DFixItRewriter.cpp49 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() local
50 if (!RewriteBuf) return true; in WriteFixedFile()
51 RewriteBuf->write(OS); in WriteFixedFile()
107 RewriteBuffer &RewriteBuf = I->second; in WriteFixedFiles() local
108 RewriteBuf.write(*OS); in WriteFixedFiles()
DRewriteMacros.cpp209 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput() local
212 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end()); in RewriteMacrosInInput()
DRewriteObjC.cpp4923 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local
4926 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
DRewriteModernObjC.cpp5873 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local
5876 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DHTMLPrint.cpp87 const RewriteBuffer &RewriteBuf = R.getEditBuffer(FID); in HandleTranslationUnit() local
88 std::unique_ptr<char[]> Buffer(new char[RewriteBuf.size()]); in HandleTranslationUnit()
89 std::copy(RewriteBuf.begin(), RewriteBuf.end(), Buffer.get()); in HandleTranslationUnit()
90 Out->write(Buffer.get(), RewriteBuf.size()); in HandleTranslationUnit()
DFixItRewriter.cpp52 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() local
53 if (!RewriteBuf) return true; in WriteFixedFile()
54 RewriteBuf->write(OS); in WriteFixedFile()
112 RewriteBuffer &RewriteBuf = I->second; in WriteFixedFiles() local
113 RewriteBuf.write(*OS); in WriteFixedFiles()
DRewriteMacros.cpp208 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput() local
211 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end()); in RewriteMacrosInInput()
DRewriteObjC.cpp4933 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local
4936 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
DRewriteModernObjC.cpp5872 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local
5875 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()