]> granicus.if.org Git - clang/commit
[ms-abi] Always generate complete constructors in the Microsoft C++ ABI
authorReid Kleckner <reid@kleckner.net>
Mon, 13 Jan 2014 22:57:31 +0000 (22:57 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 13 Jan 2014 22:57:31 +0000 (22:57 +0000)
commit018e6eada09679904f6aeeb43c230194b4f542bd
tree13209ffec44c77d04616b92880e2b64fcd98d3c5
parentd18d1517f601ae5b2249ca1bd4e6db906cf3985e
[ms-abi] Always generate complete constructors in the Microsoft C++ ABI

Fixes PR18435, where we generated a base ctor instead of a complete
ctor, and so failed to construct virtual bases when constructing the
complete object.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199160 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CGClass.cpp
test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp