[clang][ASTImporter] Fix friend class template import within dependent context
For friend class template within dependent context: 1. Should not do structure matching checking. This fixes importing failure of template with non-type parm; 2. Should not be added into redecls chain. See Sema::CheckClassTemplate(). Fixes https://github.com/llvm/llvm-project/issues/64169. Reviewed By: aaron.ballman, balazske, shafik Differential Revision: https://reviews.llvm.org/D155661
Loading
Please sign in to comment