summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-02-27 13:46:31 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-02-27 13:46:31 +0000
commit57cbe5c790256791a58c0e394641b0136131d997 (patch)
tree32048a3476d8c10d23b5006ceed1b654fe35edf1 /clang/lib/CodeGen/CodeGenFunction.h
parent8ee2a5adc79c3fcc648953b996a3ea3b4aaf7ef2 (diff)
downloadbcm5719-llvm-57cbe5c790256791a58c0e394641b0136131d997.tar.gz
bcm5719-llvm-57cbe5c790256791a58c0e394641b0136131d997.zip
Better support for constructors with -cxx-abi microsoft, partly fixes PR12784
llvm-svn: 176186
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h7
1 files changed, 7 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud