commit | 2ad63cf7146268a336b5a931f626adaa8a5150f0 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jul 26 15:11:03 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jul 26 15:11:03 2011 +0000 |
tree | eb33d81d27450c94ccc6cb9e45710932ba4a1615 | |
parent | da8b24961acfbeff47f585109b7559ba60e574cb [diff] |
When we decide not to rebuild an instantiated C++ 'new' expression that allocates an array of objects with a non-trivial destructor, be sure to mark the destructor is "used". Fixes PR10480 / <rdar://problem/9834317>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136081 91177308-0d34-0410-b5e6-96231b3b80d8