[clang] [Clang][P1061] Consolidate ResolvedUnpexandedPackExpr into FunctionParmPackExpr (PR #125394)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 10:48:56 PST 2025


================
@@ -124,6 +125,14 @@ void lambda_capture() {
   [&x...] { (void)sum(x...); }();
 }
 
+struct S2 {
+    int a, b, c;
+};
+
+auto X = [] <typename = void> () {
----------------
shafik wrote:

I feel like there are a bunch of varieties on this case we can test as well: https://godbolt.org/z/r9zxxfoW5 

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


More information about the cfe-commits mailing list