Closed balazske closed 6 years ago
A new commit was added with another way of setting the PrevDecl. Lookup of template definition is restored to before use of IsStructurallyEquivalent
. (There may be still problems with decl chains of templates and corresponding templated records but this was the case before the fix too.) (The new commit is added only to see the changes related to the old one.)
Replaced commits into 1 commit. The suggested assertion is now inserted. If it appears the solution can be to find the most recent previous declaration with described class template.
Upstream review: https://reviews.llvm.org/D50516
Somewhat experimental change, but import of friend class templates should be improved.
403 is solved by this change.