]> granicus.if.org Git - clang/commit
[ms-cxxabi] The 'most derived' ctor parameter usually comes last
authorReid Kleckner <reid@kleckner.net>
Tue, 17 Dec 2013 19:46:40 +0000 (19:46 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 17 Dec 2013 19:46:40 +0000 (19:46 +0000)
commit395336de591e50191eb5c41d4ca1f3b68517a014
treebfca3d237fe98c71b2a2764c26e07c6c6811802f
parent0f00360fd725214622d05082824a5dcc47d44e1c
[ms-cxxabi] The 'most derived' ctor parameter usually comes last

Unlike Itanium's VTTs, the 'most derived' boolean or bitfield is the
last parameter for non-variadic constructors, rather than the second.
For variadic constructors, the 'most derived' parameter comes after the
'this' parameter.  This affects constructor calls and constructor decls
in a variety of places.

Reviewers: timurrrr

Differential Revision: http://llvm-reviews.chandlerc.com/D2405

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197518 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/microsoft-abi-structors.cpp