[PATCH] D64241: [ASTImporter] Fix inequivalence of ClassTemplateInstantiations
Gabor Marton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 5 04:11:56 PDT 2019
martong created this revision.
martong added a reviewer: a_sidorin.
Herald added subscribers: cfe-commits, gamesh411, Szelethus, dkrupp, rnkovacs.
Herald added a reviewer: a.sidorin.
Herald added a project: clang.
We falsely state inequivalence if the template parameter is a
qualified/nonquialified template in the first/second instantiation.
Also, different kinds of TemplateName should be equal if the template
decl (if available) is equal (even if the name kind is different).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64241
Files:
clang/lib/AST/ASTStructuralEquivalence.cpp
clang/unittests/AST/StructuralEquivalenceTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64241.208138.patch
Type: text/x-patch
Size: 8867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190705/dfde55a0/attachment.bin>
More information about the cfe-commits
mailing list