[PATCH] D61165: Fix a crash where a [[no_destroy]] destructor was not emitted in an array

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 6 17:01:15 PDT 2019


rjmccall added a comment.

In D61165#1492582 <https://reviews.llvm.org/D61165#1492582>, @erik.pilkington wrote:

> Duncan pointed out eel.is/c++draft/class.init#class.base.init-13, which appears to claim that initialization ends with the execution of the constructor, excluding temporary destructors.
>
> > (13) In a non-delegating constructor, initialization proceeds in the following order:
> >  /* list of steps... */
> >  (13.4) **Finally, the compound-statement of the constructor body is executed.**
>
> John: do you agree with this analysis?


That's talking about constructor bodies.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61165/new/

https://reviews.llvm.org/D61165





More information about the cfe-commits mailing list