Home
last modified time | relevance | path

Searched refs:getRangeSize (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/include/clang/Rewrite/Core/
DRewriter.h88 int getRangeSize(SourceRange Range,
90 int getRangeSize(const CharSourceRange &Range,
147 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts);
152 return RemoveText(range.getBegin(), getRangeSize(range, opts), opts);
165 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText()
172 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); in ReplaceText()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h75 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/
DRewriter.cpp124 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/llvm-project/clang/lib/Rewrite/
DRewriter.cpp145 int Rewriter::getRangeSize(const CharSourceRange &Range, in getRangeSize() function in Rewriter
175 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { in getRangeSize() function in Rewriter
176 return getRangeSize(CharSourceRange::getTokenRange(Range), opts); in getRangeSize()
302 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts); in InsertTextAfterToken()
335 unsigned origLength = getRangeSize(range); in ReplaceText()
336 unsigned newLength = getRangeSize(replacementRange); in ReplaceText()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp72 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
DRewriteObjC.cpp216 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
DRewriteModernObjC.cpp265 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp68 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
DRewriteObjC.cpp216 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
DRewriteModernObjC.cpp265 int Size = Rewrite.getRangeSize(SrcRange); in ReplaceStmtWithRange()
/external/clang/lib/Tooling/Core/
DReplacement.cpp119 static int getRangeSize(const SourceManager &Sources, in getRangeSize() function
137 getRangeSize(Sources, Range, LangOpts), in setFromSourceRange()
/external/llvm-project/clang/lib/Tooling/Core/
DReplacement.cpp134 static int getRangeSize(const SourceManager &Sources, in getRangeSize() function
152 getRangeSize(Sources, Range, LangOpts), in setFromSourceRange()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionParser.cpp1255 rewrite.ReplaceText(range.getBegin(), rewrite.getRangeSize(range), text); in RewriteExpression()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp1761 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1762 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text); in replace()