Searched refs:getRangeSize (Results 1 – 7 of 7) sorted by relevance
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 75 int getRangeSize(SourceRange Range, 77 int getRangeSize(const CharSourceRange &Range, 126 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 131 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts); 144 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText()
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 124 int Rewriter::getRangeSize(const CharSourceRange &Range, in getRangeSize() function in Rewriter 157 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { in getRangeSize() function in Rewriter 158 return getRangeSize(CharSourceRange::getTokenRange(Range), opts); in getRangeSize() 285 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts); in InsertTextAfterToken() 318 unsigned origLength = getRangeSize(range); in ReplaceText() 319 unsigned newLength = getRangeSize(replacementRange); in ReplaceText()
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 124 static int getRangeSize(const SourceManager &Sources, in getRangeSize() function 142 getRangeSize(Sources, Range, LangOpts), in setFromSourceRange()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FixItRewriter.cpp | 68 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
|
D | RewriteObjC.cpp | 215 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
|
D | RewriteModernObjC.cpp | 266 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 1764 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
|