[clangd] FindTarget resolves base specifier
authorNathan James <n.james93@hotmail.co.uk>
Tue, 26 Jan 2021 18:59:29 +0000 (18:59 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Tue, 26 Jan 2021 18:59:29 +0000 (18:59 +0000)
commit7730599c41646842f325598f24c77c8157acd706
treea28b30ea89fbdd8ae2b9cf202f5675fea628e466
parentd92413a45e207fcdb414b85e3d255340d9bc1246
[clangd] FindTarget resolves base specifier

FindTarget on the virtual keyword or access specifier of a base specifier will now resolve to type of the base specifier.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D95338
clang-tools-extra/clangd/FindTarget.cpp
clang-tools-extra/clangd/unittests/FindTargetTests.cpp