[clang] [Clang] Implement C++26’s P2893R3 ‘Variadic friends’ (PR #101448)

via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 04:40:01 PDT 2024


================
@@ -17556,11 +17584,12 @@ Decl *Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
 
   Decl *D;
   if (!TempParams.empty())
+    // TODO: Support variadic friend template decls?
----------------
Sirraide wrote:

I can do that yeah. We just generally don’t support this type of friend declaration, irrespective of whether it’s a pack expansion or not. I can open an issue for that in general if there isn’t already one, because once that’s implemented, supporting pack expansions should be straight-forward.

https://github.com/llvm/llvm-project/pull/101448


More information about the cfe-commits mailing list