Home
last modified time | relevance | path

Searched refs:isPointWithin (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp148 if (SM.isPointWithin(SelectionBegin, Range.getBegin(), End)) in selectionKindFor()
152 bool HasStart = SM.isPointWithin(SelectionBegin, Range.getBegin(), End); 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()
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp51 !End.isFileID() || !isPointWithin(Start, End)) in visitSymbolOccurrence()
62 bool isPointWithin(const SourceLocation Start, const SourceLocation End) { in isPointWithin() function in clang::tooling::__anon4d6fa2b10111::NamedDeclOccurrenceFindingVisitor
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp134 if (SM.isPointWithin(ReferencedDecl->getBeginLoc(), ScopeBegin, ScopeEnd) && in exprIsValidOutside()
135 SM.isPointWithin(ReferencedDecl->getEndLoc(), ScopeBegin, ScopeEnd)) in exprIsValidOutside()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDiagnostics.cpp94 return L != R.getEnd() && M.isPointWithin(L, R.getBegin(), R.getEnd()); in locationInRange()
H A DXRefs.cpp410 SM.isPointWithin(TouchedIdentifier ? TouchedIdentifier->location() in locateASTReferent()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1670 bool isPointWithin(SourceLocation Location, SourceLocation Start, in isPointWithin() function