Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp152 static CharSourceRange getRange(const CharSourceRange &EditRange, in getRange() argument
158 Range = Lexer::makeFileCharRange(EditRange, SM, LangOpts); in getRange()
160 auto AdjustedRange = getRangeForSplitTokens(EditRange, SM, LangOpts); in getRange()
175 const CharSourceRange &EditRange, const SourceManager &SM, in getFileRangeForEdit() argument
178 getRange(EditRange, SM, LangOpts, IncludeMacroExpansion); in getFileRangeForEdit()
186 const CharSourceRange &EditRange, const SourceManager &SM, in getFileRange() argument
189 getRange(EditRange, SM, LangOpts, IncludeMacroExpansion); in getFileRange()
H A DRewriteRule.cpp41 std::optional<CharSourceRange> EditRange = in translateEdits() local
50 if (!EditRange) in translateEdits()
54 T.Range = *EditRange; in translateEdits()