find-references on virtual void meth^od() = 0 will include override references.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Should we be providing virtual method overrides when finding references, surely that's what query implementations is for?
Comment Actions
yeah, go-to-implementation is designed for this purpose. However, not every LSP-client would expose a UI for go-to-implementation, we want to surface these results for these clients as well via other common features like go-to-def, find-references, hover etc.
clang-tools-extra/clangd/unittests/XRefsTests.cpp | ||
---|---|---|
1848 | I think CRTP is about class inheritance, while in this patch we just handle virtual methods which seems not related to CRTP. |
nit: s/OverrideSymbols/Overrides