[clangd] Support UnresolvedUsingTypeLoc AST node in FindTarget.
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 16 May 2022 12:46:09 +0000 (14:46 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Fri, 20 May 2022 12:54:17 +0000 (14:54 +0200)
commit5b0022a9df3f3a35661f71b23a66c667e8501c32
tree71a24eb42e0882125a6c8c9132d65a8a789d13f6
parent534ea8bca51d9e2673a7170c34f1d91b17fabda2
[clangd] Support UnresolvedUsingTypeLoc AST node in FindTarget.

to make features like hover, go-to-def work when the cursor is on the
UnresolvedUsingTypeLoc.

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