Home
last modified time | relevance | path

Searched refs:replacementRange (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransformActions.cpp139 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 …]
DInternals.h67 void replace(SourceRange range, SourceRange replacementRange);
/external/clang/lib/Rewrite/
DRewriter.cpp315 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { in ReplaceText() argument
318 if (replacementRange.isInvalid()) return true; in ReplaceText()
321 unsigned newLength = getRangeSize(replacementRange); in ReplaceText()
323 unsigned newOffs = getLocationOffsetAndFileID(replacementRange.getBegin(), in ReplaceText()
/external/clang/lib/Edit/
DCommit.cpp128 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/
DRewriter.h150 bool ReplaceText(SourceRange range, SourceRange replacementRange);