llvm-project/clang/lib/ASTMatchers
Gabor Marton 42e15deb6c Fix import of class templates partial specialization
Summary:
Currently there are several issues with the import of class template
specializations.  (1) Different TUs may have class template specializations
with the same template arguments, but with different set of instantiated
MethodDecls and FieldDecls.  In this patch we provide a fix to merge these
methods and fields.  (2) Currently, we search the partial template
specializations in the set of simple specializations and we add partial
specializations as simple specializations. This is bad, this patch fixes it.

Reviewers: a_sidorin, xazax.hun, r.stahl

Subscribers: rnkovacs, dkrupp, cfe-commits

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

llvm-svn: 340402
2018-08-22 11:52:14 +00:00
..
Dynamic [ASTMatchers] Add matchers unresolvedMemberExpr, cxxDependentScopeMemberExpr 2018-08-12 17:34:36 +00:00
ASTMatchFinder.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ASTMatchersInternal.cpp Fix import of class templates partial specialization 2018-08-22 11:52:14 +00:00
CMakeLists.txt ASTMatchers: Add an explicit dependency on libclangBasic. 2015-03-12 16:25:19 +00:00