================
@@ -3521,7 +3521,7 @@ class TreeTransform {
/// routine to provide different behavior.
ExprResult RebuildCXXDefaultInitExpr(SourceLocation Loc,
FieldDecl *Field) {
- return getSema().BuildCXXDefaultInitExpr(Loc, Field);
+ return getSema().BuildCXXCtorDefaultInitExpr(Loc, Field);
----------------
efriedma-quic wrote:
This needs some kind of explanation; how do we know it isn't for an aggregate?
https://github.com/llvm/llvm-project/pull/219288
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits