diff options
author | John McCall <rjmccall@apple.com> | 2011-07-13 03:01:35 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-07-13 03:01:35 +0000 |
commit | 98de3d74d2830df5a42665c2679d6b5f778365da (patch) | |
tree | b1a97ad96dc38ffb796b2253b817b3e8a375975e /clang/lib/CodeGen/CodeGenFunction.h | |
parent | d29fde248e8e3f7e1ede08ba79ce0f812813ccce (diff) | |
download | bcm5719-llvm-98de3d74d2830df5a42665c2679d6b5f778365da.tar.gz bcm5719-llvm-98de3d74d2830df5a42665c2679d6b5f778365da.zip |
Generalize the routine for destroying an object with static
storage duration, then explicitly exempt ownership-qualified
types from it.
llvm-svn: 135028
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 6236f3e1e86..d1c6d8bde94 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1204,6 +1204,10 @@ public: Destroyer &destroyer, bool useEHCleanupForArray); void emitDestroy(llvm::Value *addr, QualType type, Destroyer &destroyer, bool useEHCleanupForArray); + llvm::Function *generateDestroyHelper(llvm::Constant *addr, + QualType type, + Destroyer &destroyer, + bool useEHCleanupForArray); void emitArrayDestroy(llvm::Value *begin, llvm::Value *end, QualType type, Destroyer &destroyer, bool useEHCleanup); @@ -1708,10 +1712,6 @@ public: llvm::Value *NumElements, llvm::Value *This); - llvm::Function *GenerateCXXAggrDestructorHelper(const CXXDestructorDecl *D, - const ArrayType *Array, - llvm::Value *This); - void EmitCXXDestructorCall(const CXXDestructorDecl *D, CXXDtorType Type, bool ForVirtualBase, llvm::Value *This); |