Skip to content
Commit 97a2cdbf authored by Richard Smith's avatar Richard Smith
Browse files

PR22877: When constructing an array via a constructor with a default argument

in list-initialization, run cleanups for the default argument after each
iteration of the initialization loop.

We previously only ran the destructor for any temporary once, at the end of the
complete loop, rather than once per iteration!

llvm-svn: 302750
parent bfb8e189
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment