[clang] [Clang][P1061] Add stuctured binding packs (PR #121417)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 2 01:40:48 PST 2025


================
@@ -15991,6 +15991,13 @@ TreeTransform<Derived>::TransformFunctionParmPackExpr(FunctionParmPackExpr *E) {
   return E;
 }
 
+template <typename Derived>
+ExprResult TreeTransform<Derived>::TransformResolvedUnexpandedPackExpr(
+    ResolvedUnexpandedPackExpr *E) {
+  // Default behavior is to do nothing with this transformation.
----------------
zyn0217 wrote:

Yes, and conventionally we need a wrapper function Rebuild* too.

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


More information about the cfe-commits mailing list