summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-09-15 19:34:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-09-15 19:34:18 +0000
commit5368618d722e9c097102469287708ebf355968ba (patch)
tree85e81778f0e9a35456d4c7a3db57384e5472ff4f /clang/lib/CodeGen/CodeGenModule.h
parent88860cba6659fb0edfe7ed419fce2d84bfc618a3 (diff)
downloadbcm5719-llvm-5368618d722e9c097102469287708ebf355968ba.tar.gz
bcm5719-llvm-5368618d722e9c097102469287708ebf355968ba.zip
Reduce code duplication a bit more. NFC.
llvm-svn: 217811
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index f0daa5169f2..6012606e3de 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -802,6 +802,12 @@ public:
/// Objective-C fast enumeration loop (for..in).
QualType getObjCFastEnumerationStateType();
+ // Produce code for this constructor/destructor. This method doesn't try
+ // to apply any ABI rules about which other constructors/destructors
+ // are needed or if they are alias to each other.
+ llvm::Function *codegenCXXStructor(const CXXMethodDecl *MD,
+ StructorType Type);
+
/// Return the address of the constructor/destructor of the given type.
llvm::GlobalValue *
getAddrOfCXXStructor(const CXXMethodDecl *MD, StructorType Type,
OpenPOWER on IntegriCloud