[clang] Reapply "[Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer" (PR #97308)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 9 09:10:30 PDT 2024
yronglin wrote:
I've found the root cause. It's because Exprs in `MaybeODRUseExprs` was losed after enter `RebuildDefaultInit` in `InitListChecker::FillInEmptyInitForField`.
https://github.com/llvm/llvm-project/pull/97308
More information about the cfe-commits
mailing list