diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-15 19:20:10 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-15 19:20:10 +0000 |
commit | 0433216bc05ec3e6ea8553230c6dbee9ae832416 (patch) | |
tree | a873a6bb54db5fe50b2ff8fbe48fdccc12b7a5ec /lib/CodeGen/CGCXXABI.h | |
parent | 948514b3ec0ea302ca10dee6e8a6333d2ecacc2b (diff) |
Move emitCXXStructor to CGCXXABI.
A followup patch will address the code duplication.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXXABI.h')
-rw-r--r-- | lib/CodeGen/CGCXXABI.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CGCXXABI.h b/lib/CodeGen/CGCXXABI.h index cf2cccd991..b7ce0b07e5 100644 --- a/lib/CodeGen/CGCXXABI.h +++ b/lib/CodeGen/CGCXXABI.h @@ -504,6 +504,10 @@ public: virtual LValue EmitThreadLocalVarDeclLValue(CodeGenFunction &CGF, const VarDecl *VD, QualType LValType); + + /// Emit a single constructor/destructor with the given type from a C++ + /// constructor Decl. + virtual void emitCXXStructor(const CXXMethodDecl *MD, StructorType Type) = 0; }; // Create an instance of a C++ ABI class: |