Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp43 SelectionEnd(Selection.getBegin() == Selection.getEnd() in ASTSelectionFinder()
102 SM.isBeforeInTranslationUnit(SelectionEnd.isValid() ? SelectionEnd in TraverseDecl()
146 if (!SelectionEnd.isValid()) { in selectionKindFor()
153 bool HasEnd = SM.isPointWithin(SelectionEnd, Range.getBegin(), End); in selectionKindFor()
156 if (SM.isPointWithin(Range.getBegin(), SelectionBegin, SelectionEnd) && in selectionKindFor()
157 SM.isPointWithin(End, SelectionBegin, SelectionEnd)) in selectionKindFor()
163 if (HasEnd && SelectionEnd != Range.getBegin()) in selectionKindFor()
169 const SourceLocation SelectionBegin, SelectionEnd; member in __anonb65016a60111::ASTSelectionFinder
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DTweak.h65 unsigned SelectionEnd; member
H A DTweak.cpp66 SelectionEnd(RangeEnd), ASTSelection(std::move(ASTSelection)), FS(FS) { in Selection()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp505 if (Inputs.SelectionBegin == Inputs.SelectionEnd) in REGISTER_TWEAK()