diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-15 19:34:18 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-09-15 19:34:18 +0000 |
commit | 5368618d722e9c097102469287708ebf355968ba (patch) | |
tree | 85e81778f0e9a35456d4c7a3db57384e5472ff4f /clang/lib/CodeGen/CodeGenModule.h | |
parent | 88860cba6659fb0edfe7ed419fce2d84bfc618a3 (diff) | |
download | bcm5719-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.h | 6 |
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, |