Searched refs:RewriteBuffer (Results 1 – 14 of 14) sorted by relevance
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 25 raw_ostream &RewriteBuffer::write(raw_ostream &os) const { in write() 49 void RewriteBuffer::RemoveText(unsigned OrigOffset, unsigned Size, in RemoveText() 92 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, in InsertText() 108 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, in ReplaceText() 140 std::map<FileID, RewriteBuffer>::const_iterator I = in getRangeSize() 143 const RewriteBuffer &RB = I->second; in getRangeSize() 183 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewrittenText() 195 const RewriteBuffer &RB = I->second; in getRewrittenText() 204 RewriteBuffer::iterator Start = RB.begin(); in getRewrittenText() 206 RewriteBuffer::iterator End = Start; in getRewrittenText() [all …]
|
D | HTMLRewrite.cpp | 57 void html::HighlightRange(RewriteBuffer &RB, unsigned B, unsigned E, in HighlightRange() 115 RewriteBuffer &RB = R.getEditBuffer(FID); in EscapeText() 208 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() 232 RewriteBuffer &RB = R.getEditBuffer(FID); in AddLineNumbers() 358 RewriteBuffer &RB = R.getEditBuffer(FID); in SyntaxHighlight()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 34 std::map<FileID, RewriteBuffer> RewriteBuffers; 53 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator; 54 typedef std::map<FileID, RewriteBuffer>::const_iterator const_buffer_iterator; 166 RewriteBuffer &getEditBuffer(FileID FID); 170 const RewriteBuffer *getRewriteBufferFor(FileID FID) const { in getRewriteBufferFor() 171 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewriteBufferFor()
|
D | HTMLRewrite.h | 24 class RewriteBuffer; variable 47 void HighlightRange(RewriteBuffer &RB, unsigned B, unsigned E,
|
D | RewriteBuffer.h | 27 class RewriteBuffer {
|
/external/clang/unittests/Rewrite/ |
D | RewriteBufferTest.cpp | 19 RewriteBuffer &Buf) { in tagRange() 29 TEST(RewriteBuffer, TagRanges) { in TEST() argument 33 RewriteBuffer Buf; in TEST()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput() 209 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput()
|
D | FixItRewriter.cpp | 49 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() 107 RewriteBuffer &RewriteBuf = I->second; in WriteFixedFiles()
|
D | HTMLPrint.cpp | 90 const RewriteBuffer &RewriteBuf = R.getEditBuffer(FID); in HandleTranslationUnit()
|
D | RewriteObjC.cpp | 4943 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit()
|
D | RewriteModernObjC.cpp | 5951 if (const RewriteBuffer *RewriteBuf = in HandleTranslationUnit()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 283 const RewriteBuffer *Buf = R.getRewriteBufferFor(FID); in ReportDiag() 343 for (RewriteBuffer::iterator I = Buf->begin(), E = Buf->end(); I!=E; ++I) in ReportDiag()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 599 RewriteBuffer &buf = I->second; in applyTransform()
|
D | ObjCMT.cpp | 1967 RewriteBuffer &buf = I->second; in HandleTranslationUnit() 2201 const RewriteBuffer *Buf = rewriter.getRewriteBufferFor(FID); in applyEditsToTemp()
|