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

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 6 15:37:21 PDT 2019


erik.pilkington added a comment.

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?


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

https://reviews.llvm.org/D61165





More information about the cfe-commits mailing list