Unverified Commit 17daa204 authored by yronglin's avatar yronglin Committed by GitHub
Browse files

[Clang][CWG1815] Support lifetime extension of temporary created by aggregate...

[Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (#87933)

This PR complete [DR1815](https://wg21.link/CWG1815

) under the guidance
of `FIXME` comments. And reuse `CXXDefaultInitExpr` rewrite machinery to
clone the initializer expression on each use that would lifetime extend
its temporaries.

---------

Signed-off-by: default avataryronglin <yronglin777@gmail.com>
parent 78b3a004
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment