/external/llvm-project/clang/unittests/Rewrite/ |
D | RewriteBufferTest.cpp | 19 static std::string writeOutput(const RewriteBuffer &Buf) { in writeOutput() 28 RewriteBuffer &Buf) { in tagRange() 38 TEST(RewriteBuffer, TagRanges) { in TEST() argument 42 RewriteBuffer Buf; in TEST() 56 TEST(RewriteBuffer, DISABLED_RemoveLineIfEmpty_XFAIL) { in TEST() argument 60 RewriteBuffer Buf; in TEST()
|
/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/llvm-project/clang/lib/Rewrite/ |
D | Rewriter.cpp | 37 raw_ostream &RewriteBuffer::write(raw_ostream &os) const { in write() 61 void RewriteBuffer::RemoveText(unsigned OrigOffset, unsigned Size, in RemoveText() 115 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, in InsertText() 130 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, in ReplaceText() 159 std::map<FileID, RewriteBuffer>::const_iterator I = in getRangeSize() 162 const RewriteBuffer &RB = I->second; in getRangeSize() 199 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewrittenText() 213 const RewriteBuffer &RB = I->second; in getRewrittenText() 223 RewriteBuffer::iterator Start = RB.begin(); in getRewrittenText() 225 RewriteBuffer::iterator End = Start; in getRewrittenText() [all …]
|
D | HTMLRewrite.cpp | 58 void html::HighlightRange(RewriteBuffer &RB, unsigned B, unsigned E, in HighlightRange() 116 RewriteBuffer &RB = R.getEditBuffer(FID); in EscapeText() 209 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() 233 RewriteBuffer &RB = R.getEditBuffer(FID); in AddLineNumbers() 445 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/llvm-project/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 35 std::map<FileID, RewriteBuffer> RewriteBuffers; 65 using buffer_iterator = std::map<FileID, RewriteBuffer>::iterator; 66 using const_buffer_iterator = std::map<FileID, RewriteBuffer>::const_iterator; 194 RewriteBuffer &getEditBuffer(FileID FID); 198 const RewriteBuffer *getRewriteBufferFor(FileID FID) const { in getRewriteBufferFor() 199 std::map<FileID, RewriteBuffer>::const_iterator I = in getRewriteBufferFor()
|
D | HTMLRewrite.h | 23 class RewriteBuffer; variable 47 void HighlightRange(RewriteBuffer &RB, unsigned B, unsigned E,
|
D | RewriteBuffer.h | 25 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/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 94 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput() 208 if (const RewriteBuffer *RewriteBuf = in RewriteMacrosInInput()
|
D | FixItRewriter.cpp | 52 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID); in WriteFixedFile() 112 RewriteBuffer &RewriteBuf = I->second; in WriteFixedFiles()
|
D | HTMLPrint.cpp | 87 const RewriteBuffer &RewriteBuf = R.getEditBuffer(FID); in HandleTranslationUnit()
|
/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()
|
/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/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | HTMLDiagnostics.cpp | 346 const RewriteBuffer *Buf = R.getRewriteBufferFor(I); in GenerateHTML() 354 const RewriteBuffer *Buf = R.getRewriteBufferFor(FileIDs[0]); in GenerateHTML()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 601 RewriteBuffer &buf = I->second; in applyTransform()
|
D | ObjCMT.cpp | 1966 RewriteBuffer &buf = I->second; in HandleTranslationUnit() 2195 const RewriteBuffer *Buf = rewriter.getRewriteBufferFor(FID); in applyEditsToTemp()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 600 RewriteBuffer &buf = I->second; in applyTransform()
|
D | ObjCMT.cpp | 1965 RewriteBuffer &buf = I->second; in HandleTranslationUnit() 2199 const RewriteBuffer *Buf = rewriter.getRewriteBufferFor(FID); in applyEditsToTemp()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionParser.cpp | 1284 RewriteBuffer &main_file_buffer = in RewriteExpression()
|