diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-07-13 00:54:47 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-07-13 00:54:47 +0000 |
| commit | a8b20f70d562cdc2679f82d409832b79fc415277 (patch) | |
| tree | b46595c0fbeb7c5bb3b707d6f636ab9051e09d82 /lib/CodeGen/CGExpr.cpp | |
| parent | 9f8ee2ea0a62551ad5488669cf69308e7b48a9dd (diff) | |
| download | clang-a8b20f70d562cdc2679f82d409832b79fc415277.tar.gz clang-a8b20f70d562cdc2679f82d409832b79fc415277.tar.bz2 clang-a8b20f70d562cdc2679f82d409832b79fc415277.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
