]> granicus.if.org Git - clang/commit
Make deleting and complete dtor variants defer to other dtor variants by
authorJohn McCall <rjmccall@apple.com>
Thu, 18 Feb 2010 19:59:28 +0000 (19:59 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 18 Feb 2010 19:59:28 +0000 (19:59 +0000)
commit3b47733ceac33306bd54ce9d6c7d8eeeae52c7ca
tree209136255422a9ba0521b6945c8763c1fc987b7b
parent4c58923ca904733d588ddb1cec58549b6bc7dfa9
Make deleting and complete dtor variants defer to other dtor variants by
calling them as subroutines.  This triggers whenever the alias optimization
doesn't, i.e. when the dtor has linkonce linkage or there are virtual bases
or it's the deleting dtor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96605 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.cpp
test/CodeGenCXX/virtual-base-destructor-call.cpp
test/CodeGenCXX/virtual-destructor-calls.cpp