[ASTMatchers] Fix isDerivedFrom for recursive templates
authorJan Korous <jkorous@apple.com>
Wed, 15 Apr 2020 19:47:24 +0000 (12:47 -0700)
committerJan Korous <jkorous@apple.com>
Wed, 15 Apr 2020 19:49:01 +0000 (12:49 -0700)
commit14d89bfbe0b4f633689d829145fc9f0bfdb07b6e
treeec9b4ea3da5d386831bf4e387aad0ab011598ba8
parent7b6ff8bf1f8e2c4c860b15dea257eee8a109cc3e
[ASTMatchers] Fix isDerivedFrom for recursive templates

Differential Revision: https://reviews.llvm.org/D77612
clang/lib/ASTMatchers/ASTMatchFinder.cpp
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp