From 57cbe5c790256791a58c0e394641b0136131d997 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Wed, 27 Feb 2013 13:46:31 +0000 Subject: Better support for constructors with -cxx-abi microsoft, partly fixes PR12784 llvm-svn: 176186 --- clang/lib/CodeGen/CodeGenFunction.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 880b82e924d..6cb0b3304eb 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1818,6 +1818,13 @@ public: const CXXRecordDecl *ClassDecl, const CXXRecordDecl *BaseClassDecl); + /// GetVTTParameter - Return the VTT parameter that should be passed to a + /// base constructor/destructor with virtual bases. + /// FIXME: VTTs are Itanium ABI-specific, so the definition should move + /// to ItaniumCXXABI.cpp together with all the references to VTT. + llvm::Value *GetVTTParameter(GlobalDecl GD, bool ForVirtualBase, + bool Delegating); + void EmitDelegateCXXConstructorCall(const CXXConstructorDecl *Ctor, CXXCtorType CtorType, const FunctionArgList &Args); -- cgit v1.2.3