]> granicus.if.org Git - clang/commit
Don't emit derived-to-base destructor aliases if we don't have a definition
authorJohn McCall <rjmccall@apple.com>
Wed, 3 Mar 2010 03:40:11 +0000 (03:40 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 3 Mar 2010 03:40:11 +0000 (03:40 +0000)
commit9a70846c5ffd5ff5cce60de49cd7b312146bf502
treed8971c8c58529d8150edebc7868b0520fe71620d
parent89b7702c9a64e12093ed34fc02dc3cfbb6eb133a
Don't emit derived-to-base destructor aliases if we don't have a definition
for the base destructor, because aliases to declarations aren't legal.

Fixes PR 6471.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97637 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
test/CodeGenCXX/destructors.cpp