cor3ntin wrote: > Is there ever a situation that would cause us to have to instantiate a > FriendPackDecl in the TemplateDeclInstantiator? We do that for > UsingPackDecls, but those are sufficiently different enough from the former > that I’m not sure about it. I at least haven’t been able to come up w/ any > cases that would cause us to try and instantiate one.
That would be needed for the ```cpp template <typename Ts> struct S { friend class S<Ts>::Nested...; }; ``` case, I think? https://github.com/llvm/llvm-project/pull/101448 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits