[clang-tools-extra] clangd: Make callHierarchy follow inheritance (PR #163024)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 16 23:49:30 PDT 2025
================
@@ -142,6 +153,9 @@ class Dex : public SymbolIndex {
static_assert(sizeof(RelationKind) == sizeof(uint8_t),
"RelationKind should be of same size as a uint8_t");
llvm::DenseMap<std::pair<SymbolID, uint8_t>, std::vector<SymbolID>> Relations;
+ // Reverse relations, currently only for OverridenBy
+ llvm::DenseMap<std::pair<SymbolID, uint8_t>, std::vector<SymbolID>>
----------------
HighCommander4 wrote:
(See comment in `MemIndex.h` for a memory-saving idea. If we do it there, we should do it here too.)
https://github.com/llvm/llvm-project/pull/163024
More information about the cfe-commits
mailing list