================
@@ -22700,10 +22700,6 @@ static bool doEvaluateInitializer(const ASTContext
&Ctx, SemaProxy *SProxy,
// mem-initializer.
// So we need to make sure temporary objects are destroyed after having
// evaluated the expression (per C++23 [class.temporary]/p4).
- //
- // FIXME: Otherwise this may break test/Modules/pr68702.cpp because the
- // serialization code calls ParmVarDecl::getDefaultArg() which strips the
- // outermost FullExpr, such as ExprWithCleanups.
----------------
tbaederr wrote:
See
https://github.com/llvm/llvm-project/commit/844f8335f211da19ae4b375761013909a3394d9a,
does this mean we don't need the `FullExpressionRAII` anymore?
https://github.com/llvm/llvm-project/pull/240633
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits