diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-05-10 17:52:26 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-05-10 17:52:26 +0000 |
commit | f8ccf052935adaf405e581fd31e8bc634cc5bbc7 (patch) | |
tree | 9cd6c6c3082628abfbfaed9a9ccc5f4f774f70b4 /clang/test/Index/annotate-deep-statements.cpp | |
parent | d74b87150448ab9e2e61f1d5c47de0503fca322f (diff) | |
download | bcm5719-llvm-f8ccf052935adaf405e581fd31e8bc634cc5bbc7.tar.gz bcm5719-llvm-f8ccf052935adaf405e581fd31e8bc634cc5bbc7.zip |
[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
llvm-svn: 360446
Diffstat (limited to 'clang/test/Index/annotate-deep-statements.cpp')
0 files changed, 0 insertions, 0 deletions