Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DXRefs.cpp140 Location LSPLoc; in toLSPLocation() local
141 LSPLoc.uri = std::move(*U); in toLSPLocation()
142 LSPLoc.range.start.line = Loc.Start.line(); in toLSPLocation()
143 LSPLoc.range.start.character = Loc.Start.column(); in toLSPLocation()
144 LSPLoc.range.end.line = Loc.End.line(); in toLSPLocation()
145 LSPLoc.range.end.character = Loc.End.column(); in toLSPLocation()
147 return LSPLoc; in toLSPLocation()
1267 auto LSPLoc = toLSPLocation(R.Location, *MainFilePath); in findReferences() local
1269 if (!LSPLoc || LSPLoc->uri.file() == *MainFilePath) in findReferences()
1272 Results.References.push_back(std::move(*LSPLoc)); in findReferences()
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp130 auto LSPLoc = sourceLocToPosition(SM, Loc); in getTokenRange() local
132 Pos.setLine(LSPLoc.line); in getTokenRange()
133 Pos.setColumn(LSPLoc.character); in getTokenRange()