Home
last modified time | relevance | path

Searched refs:EditRange (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h98 getRangeForEdit(const CharSourceRange &EditRange, const SourceManager &SM,
101 getRangeForEdit(const CharSourceRange &EditRange, const ASTContext &Context) { in getRangeForEdit() argument
102 return getRangeForEdit(EditRange, Context.getSourceManager(), in getRangeForEdit()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp82 clang::tooling::getRangeForEdit(const CharSourceRange &EditRange, in getRangeForEdit() argument
96 CharSourceRange Range = Lexer::makeFileCharRange(EditRange, SM, LangOpts); in getRangeForEdit()
H A DRewriteRule.cpp42 llvm::Optional<CharSourceRange> EditRange = in translateEdits() local
51 if (!EditRange) in translateEdits()
61 T.Range = *EditRange; in translateEdits()