[clangd] Handle DeducedTemplateSpecializationType in TargetFinder
authorNathan Ridge <zeratul976@hotmail.com>
Thu, 2 Jan 2020 05:45:01 +0000 (00:45 -0500)
committerNathan Ridge <zeratul976@hotmail.com>
Thu, 9 Jan 2020 21:14:11 +0000 (16:14 -0500)
commit6a69d3c6b3da3d4e7709d11fd52b8e5540265280
tree6f939c73be7c7eb859f34df91982520c389f39cc
parentc348a2674b5753afde6842d5a6ee75db111167e3
[clangd] Handle DeducedTemplateSpecializationType in TargetFinder

Summary:
This is a workaround for https://bugs.llvm.org/show_bug.cgi?id=42914.
Once that is fixed, the handling in VisitDeducedTyped() should be sufficient.

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

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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