Searched refs:RewriteBuf (Results 1 – 5 of 5) sorted by relevance
90 const RewriteBuffer &RewriteBuf = R.getEditBuffer(FID); in HandleTranslationUnit() local91 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()
49 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() local50 if (!RewriteBuf) return true; in WriteFixedFile()51 RewriteBuf->write(OS); in WriteFixedFile()107 RewriteBuffer &RewriteBuf = I->second; in WriteFixedFiles() local108 RewriteBuf.write(*OS); in WriteFixedFiles()
209 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput() local212 *OS << std::string(RewriteBuf->begin(), RewriteBuf->end()); in RewriteMacrosInInput()
4943 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local4946 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()
5951 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit() local5954 *OutFile << std::string(RewriteBuf->begin(), RewriteBuf->end()); in HandleTranslationUnit()