commit | a8b20f70d562cdc2679f82d409832b79fc415277 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jul 13 00:54:47 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jul 13 00:54:47 2011 +0000 |
tree | b46595c0fbeb7c5bb3b707d6f636ab9051e09d82 | |
parent | 9f8ee2ea0a62551ad5488669cf69308e7b48a9dd [diff] |
When compiling ::delete for a class with a virtual destructor, call the complete destructor and then invoke the global delete operator. Previously, we would invoke the deleting destructor, which calls the wrong delete operator. Fixes PR10341. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135021 91177308-0d34-0410-b5e6-96231b3b80d8