aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-13 00:54:47 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-13 00:54:47 +0000
commita8b20f70d562cdc2679f82d409832b79fc415277 (patch)
treeb46595c0fbeb7c5bb3b707d6f636ab9051e09d82 /lib/CodeGen/CGClass.cpp
parent9f8ee2ea0a62551ad5488669cf69308e7b48a9dd (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
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions