diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2013-02-13 08:37:51 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2013-02-13 08:37:51 +0000 |
commit | ee6bc533658813d1b04dbd23452089751ab01c96 (patch) | |
tree | f0a5d0f139c1af5b7d3d61a351aa5ba391b99eae /clang/lib/CodeGen/CGCXXABI.h | |
parent | 9cb8e7b9f5e36e46ecac133b612d6187892342dc (diff) | |
download | bcm5719-llvm-ee6bc533658813d1b04dbd23452089751ab01c96.tar.gz bcm5719-llvm-ee6bc533658813d1b04dbd23452089751ab01c96.zip |
Emit virtual/deleting destructors properly with -cxx-abi microsoft, PR15058
llvm-svn: 175045
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.h')
-rw-r--r-- | clang/lib/CodeGen/CGCXXABI.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.h b/clang/lib/CodeGen/CGCXXABI.h index c319c062eff..80798e71f8e 100644 --- a/clang/lib/CodeGen/CGCXXABI.h +++ b/clang/lib/CodeGen/CGCXXABI.h @@ -54,11 +54,20 @@ protected: return CGF.CXXABIThisValue; } + // FIXME: Every place that calls getVTT{Decl,Value} is something + // that needs to be abstracted properly. ImplicitParamDecl *&getVTTDecl(CodeGenFunction &CGF) { - return CGF.CXXVTTDecl; + return CGF.CXXStructorImplicitParamDecl; } llvm::Value *&getVTTValue(CodeGenFunction &CGF) { - return CGF.CXXVTTValue; + return CGF.CXXStructorImplicitParamValue; + } + + ImplicitParamDecl *&getStructorImplicitParamDecl(CodeGenFunction &CGF) { + return CGF.CXXStructorImplicitParamDecl; + } + llvm::Value *&getStructorImplicitParamValue(CodeGenFunction &CGF) { + return CGF.CXXStructorImplicitParamValue; } /// Build a parameter variable suitable for 'this'. |