summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-07-13 08:09:46 +0000
committerJohn McCall <rjmccall@apple.com>2011-07-13 08:09:46 +0000
commit97eab0a271b3dd1a50ad543afd645c833915c096 (patch)
tree14015f340031c725c44bf49a88ec97ec3b5a0520 /clang/lib/CodeGen/CodeGenFunction.h
parent72510f22b4f4f654e0adf4dad32fda73f3480a33 (diff)
downloadbcm5719-llvm-97eab0a271b3dd1a50ad543afd645c833915c096.tar.gz
bcm5719-llvm-97eab0a271b3dd1a50ad543afd645c833915c096.zip
Okay, that rule about zero-length arrays applies to destroying
them, too. llvm-svn: 135038
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index cda1588b1d7..322126c811a 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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);
OpenPOWER on IntegriCloud