[clangd] Ensure Ref::Container refers to an indexed symbol
authorNathan Ridge <zeratul976@hotmail.com>
Tue, 29 Jun 2021 05:54:12 +0000 (01:54 -0400)
committerNathan Ridge <zeratul976@hotmail.com>
Thu, 22 Jul 2021 07:33:40 +0000 (03:33 -0400)
commitf443793d26c39a78cfedea5a8cc2ad23e1253d84
tree140258d42c598da4087eb291c3692c1c55560762
parent0fe7531b75e54909a7cb7f7080634ab2053964ad
[clangd] Ensure Ref::Container refers to an indexed symbol

Fixes https://github.com/clangd/clangd/issues/806

Differential Revision: https://reviews.llvm.org/D105083
clang-tools-extra/clangd/index/SymbolCollector.cpp
clang-tools-extra/clangd/unittests/CallHierarchyTests.cpp
clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp