HomePhabricator

[Sema] Mark array element destructors referenced during initialization

Description

[Sema] Mark array element destructors referenced during initialization

This fixes a crash where we would neglect to mark a destructor referenced for an
attribute((no_destory)) array. The destructor is needed though, since if an
exception is thrown we need to cleanup the elements.

rdar://48462498

Differential revision: https://reviews.llvm.org/D61165

Details

Committed
epilkMay 10 2019, 10:52 AM
Differential Revision
D61165: Fix a crash where a [[no_destroy]] destructor was not emitted in an array
Parents
rL360445: [CVP] Add tests for abs and nabs spf; NFC
Branches
Unknown
Tags
Unknown