This requires a second index query for refs to overrides, as the refs
call doesn't tell you which ref points at which symbol.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
thanks, lgtm!
clang-tools-extra/clangd/XRefs.cpp | ||
---|---|---|
1406 | it might be nicer to make IDs a parameter too. | |
1409 | just thinking out loud, i wonder why we don't just provide a symbolid in this callback too. the interface currently says refs will be returned in any order, and i am not sure about all the index implementations we have, but i think they should be able to provide that for each reference. that way we could get rid of multiple index queries (not that it matters too much currently, but it might one day..) |
it might be nicer to make IDs a parameter too.