Home
last modified time | relevance | path

Searched refs:getRangeForEdit (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/include/clang/Tooling/Transformer/
DSourceCode.h94 getRangeForEdit(const CharSourceRange &EditRange, const SourceManager &SM,
97 getRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context) { in getRangeForEdit() function
98 return getRangeForEdit(EditRange, Context.getSourceManager(), in getRangeForEdit()
/external/llvm-project/clang/unittests/Tooling/
DSourceCodeTest.cpp28 using tooling::getRangeForEdit;
447 EXPECT_THAT(getRangeForEdit(Range, *Context), in TEST()
462 EXPECT_THAT(getRangeForEdit(Range, *Context), in TEST()
477 EXPECT_FALSE(getRangeForEdit(Range, *Context).hasValue()); in TEST()
491 EXPECT_THAT(getRangeForEdit(Range, *Context), in TEST()
506 EXPECT_THAT(getRangeForEdit(Range, *Context), in TEST()
/external/llvm-project/clang/lib/Tooling/Transformer/
DRewriteRule.cpp43 tooling::getRangeForEdit(*Range, *Result.Context); in translateEdits()
413 llvm::Optional<CharSourceRange> RootRange = tooling::getRangeForEdit( in getRuleMatchLoc()
DSourceCode.cpp82 clang::tooling::getRangeForEdit(const CharSourceRange &EditRange, in getRangeForEdit() function in clang::tooling