]> granicus.if.org Git - clang/commit
Emit complete constructors and destructors as aliases to base constructors
authorJohn McCall <rjmccall@apple.com>
Wed, 17 Feb 2010 03:52:49 +0000 (03:52 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 17 Feb 2010 03:52:49 +0000 (03:52 +0000)
commit92ac9ffecd236a6be0d6ab30cef56100e56b171c
treedcadd027e9cec747a31fc2b15cbf3da0bbfed085
parent340963fd040d79ebfd868f976743645254113183
Emit complete constructors and destructors as aliases to base constructors
and destructors when the two entities are semantically identical, i.e. when
the class has no virtual base classes.  We only do this for linkage types
for which aliases are supported, i.e. internal and external, i.e. not linkonce.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGenCXX/default-arguments.cpp
test/CodeGenCXX/mangle-subst-std.cpp
test/CodeGenCXX/mangle.cpp
test/CodeGenCXX/member-templates.cpp
test/CodeGenCXX/virtual-bases.cpp
test/CodeGenCXX/virtual-destructor-calls.cpp
test/CodeGenCXX/vtable-pointer-initialization.cpp