Home
last modified time | relevance | path

Searched refs:endLocation (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp190 if (Tok == Toks.end() || Tok->endLocation().isInvalid()) { in findInsertionPoint()
193 if (!Tok->endLocation().isMacroID() && IsValidPoint(Tok->endLocation())) { in findInsertionPoint()
195 Out.Loc = Tok->endLocation(); in findInsertionPoint()
H A DExpandMacro.cpp85 if (T->endLocation() != Cursor || T->kind() != tok::identifier) in findIdentifierUnderCursor()
123 Expansion.Spelled.back().endLocation()); in apply()
H A DObjCLocalizeStringLiteral.cpp75 tooling::Replacement(SM, Toks->back().endLocation(), 0, ", @\"\")"))) in apply()
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DTokens.h114 SourceLocation endLocation() const { in endLocation() function
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticSelection.cpp74 TM.getToken(LBrace->getTokenKey())->endLocation(), in extractFoldingRange()
H A DFindSymbols.cpp347 Exp->Spelled.back().endLocation())); in inMacro()
357 if (Prev && Prev->endLocation() != Tok.location()) in inMacro()
H A DDumpAST.cpp98 Spelled->back().endLocation())); in getRange()
H A DInlayHints.cpp656 sourceLocToPosition(SM, Spelled->back().endLocation())}; in getHintRange()
H A DSelection.cpp258 return SM.getFileOffset(Tok.endLocation()) <= SelBegin; in SelectionTester()
H A DXRefs.cpp1224 CharSourceRange::getCharRange(Tok->location(), Tok->endLocation())); in toHighlight()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp711 IdentifierToken->endLocation())); in rename()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTokensTest.cpp87 arg.endLocation() == SourceRng.second;
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp579 Right != Tokens.begin() && (Right - 1)->endLocation() >= Loc; in spelledTokensTouching()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DXRefsTests.cpp1740 Tok->location(), Tok->endLocation())); in TEST()