Merging r302817:
------------------------------------------------------------------------ r302817 | rsmith | 2017-05-11 14:58:24 -0400 (Thu, 11 May 2017) | 9 lines 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! Re-commit of r302750, reverted in r302776. ------------------------------------------------------------------------ llvm-svn: 303167
parent
f1f6d664
Please register or sign in to comment