diff options
author | John McCall <rjmccall@apple.com> | 2011-07-13 08:09:46 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-07-13 08:09:46 +0000 |
commit | fbf780a9d1dbb191fc40c8af967c590e08724b74 (patch) | |
tree | b7d1b2dfad85ba0306fcf795c1fc140f51394a2b /lib/CodeGen/CodeGenFunction.h | |
parent | dd376cae98ce4d0ab92c90d3e9c01ee19e919f44 (diff) |
Okay, that rule about zero-length arrays applies to destroying
them, too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index cda1588b1d..322126c811 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -1210,7 +1210,7 @@ public: bool useEHCleanupForArray); void emitArrayDestroy(llvm::Value *begin, llvm::Value *end, QualType type, Destroyer &destroyer, - bool useEHCleanup); + bool checkZeroLength, bool useEHCleanup); Destroyer &getDestroyer(QualType::DestructionKind destructionKind); |