commit | 84ff0fccb180098b70504c03c3072a19e6d573af | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Wed Jul 13 20:12:57 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Wed Jul 13 20:12:57 2011 +0000 |
tree | 3b6a63473c46a6cd02385ebbb4cec01674abb66d | |
parent | 968860904a65619899c9f38673c8236a81240d93 [diff] |
Enforce access control for the destructor in a new[] expression and mark it as used. Otherwise, we can fail to instantiate or validate the destructor, which can lead to crashes in IR gen like PR10351. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135073 91177308-0d34-0410-b5e6-96231b3b80d8