Searched refs:replacementRange (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | TransformActions.cpp | 139 void replace(SourceRange range, SourceRange replacementRange); 154 bool canReplaceRange(SourceRange range, SourceRange replacementRange); 161 void commitReplace(SourceRange range, SourceRange replacementRange); 329 SourceRange replacementRange) { in replace() argument 334 data.R2 = replacementRange; in replace() 413 SourceRange replacementRange) { in canReplaceRange() argument 414 return canRemoveRange(range) && canRemoveRange(replacementRange); in canReplaceRange() 464 SourceRange replacementRange) { in commitReplace() argument 465 RangeComparison comp = CharRange::compare(replacementRange, range, in commitReplace() 470 if (range.getBegin() != replacementRange.getBegin()) in commitReplace() [all …]
|
D | Internals.h | 67 void replace(SourceRange range, SourceRange replacementRange);
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 313 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { in ReplaceText() argument 316 if (replacementRange.isInvalid()) return true; in ReplaceText() 319 unsigned newLength = getRangeSize(replacementRange); in ReplaceText() 321 unsigned newOffs = getLocationOffsetAndFileID(replacementRange.getBegin(), in ReplaceText()
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 128 CharSourceRange replacementRange) { in replaceWithInner() argument 138 if (!canRemoveRange(replacementRange, InnerBegin, InnerLen)) { in replaceWithInner() 155 addRemove(replacementRange.getEnd(), in replaceWithInner()
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 150 bool ReplaceText(SourceRange range, SourceRange replacementRange);
|