diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-02-27 13:46:31 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-02-27 13:46:31 +0000 |
commit | 57cbe5c790256791a58c0e394641b0136131d997 (patch) | |
tree | 32048a3476d8c10d23b5006ceed1b654fe35edf1 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 8ee2a5adc79c3fcc648953b996a3ea3b4aaf7ef2 (diff) | |
download | bcm5719-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.h | 7 |
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); |