[Index] Fix reported references in presence of template type aliases
authorIlya Biryukov <ibiryukov@google.com>
Thu, 23 May 2019 16:48:47 +0000 (16:48 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Thu, 23 May 2019 16:48:47 +0000 (16:48 +0000)
commit346758407e1dabb0d68af6bae7fba131b74e4e54
tree626f6efc99cb0e4da08bb5ccee2298878ce05127
parentfd11a5f47d00dd6176938a3767fd902742617a1e
[Index] Fix reported references in presence of template type aliases

Summary: See the added test for an example.

Reviewers: kadircet

Reviewed By: kadircet

Subscribers: jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62303

llvm-svn: 361511
clang-tools-extra/clangd/unittests/XRefsTests.cpp
clang/lib/Index/IndexTypeSourceInfo.cpp