Searched refs:RewriteBuf (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Frontend/Rewrite/ |
D | HTMLPrint.cpp | 90 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()
|
D | FixItRewriter.cpp | 49 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()
|
D | RewriteMacros.cpp | 209 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput() local 212 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end()); in RewriteMacrosInInput()
|
D | RewriteObjC.cpp | 4923 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local 4926 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
|
D | RewriteModernObjC.cpp | 5873 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local 5876 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | HTMLPrint.cpp | 87 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()
|
D | FixItRewriter.cpp | 52 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()
|
D | RewriteMacros.cpp | 208 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput() local 211 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end()); in RewriteMacrosInInput()
|
D | RewriteObjC.cpp | 4933 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local 4936 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
|
D | RewriteModernObjC.cpp | 5872 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local 5875 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
|