diff options
author | Reid Kleckner <reid@kleckner.net> | 2013-12-17 19:46:40 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2013-12-17 19:46:40 +0000 |
commit | 89077a1b008a575c148e08f138aa7c270d4f7323 (patch) | |
tree | 36f30bee9777818abc9efb1096f33e92e4e92922 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | f869ad15a3d86a56d311e80406d4fdaf17060080 (diff) | |
download | bcm5719-llvm-89077a1b008a575c148e08f138aa7c270d4f7323.tar.gz bcm5719-llvm-89077a1b008a575c148e08f138aa7c270d4f7323.zip |
[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
llvm-svn: 197518
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 2ddb1b9460d..6c00b2a6b4c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2492,6 +2492,7 @@ private: std::string &ConstraintStr, SourceLocation Loc); +public: /// EmitCallArgs - Emit call arguments for a function. template <typename T> void EmitCallArgs(CallArgList &Args, const T *CallArgTypeInfo, @@ -2565,6 +2566,7 @@ private: CallExpr::const_arg_iterator ArgBeg, CallExpr::const_arg_iterator ArgEnd, bool ForceColumnInfo); +private: const TargetCodeGenInfo &getTargetHooks() const { return CGM.getTargetCodeGenInfo(); } |