Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp134 Location LSPLoc; in toLSPLocation() local
135 LSPLoc.uri = std::move(*U); in toLSPLocation()
136 LSPLoc.range.start.line = Loc.Start.line(); in toLSPLocation()
137 LSPLoc.range.start.character = Loc.Start.column(); in toLSPLocation()
138 LSPLoc.range.end.line = Loc.End.line(); in toLSPLocation()
139 LSPLoc.range.end.character = Loc.End.column(); in toLSPLocation()
141 return LSPLoc; in toLSPLocation()
1478 auto LSPLoc = toLSPLocation(R.Location, *MainFilePath); in findReferences() local
1480 if (!LSPLoc || in findReferences()
1481 (!AllowMainFileSymbols && LSPLoc->uri.file() == *MainFilePath)) in findReferences()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp103 auto LSPLoc = sourceLocToPosition(SM, Loc); in getTokenRange() local
105 Pos.setLine(LSPLoc.line); in getTokenRange()
106 Pos.setColumn(LSPLoc.character); in getTokenRange()