From 97eab0a271b3dd1a50ad543afd645c833915c096 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 13 Jul 2011 08:09:46 +0000 Subject: Okay, that rule about zero-length arrays applies to destroying them, too. llvm-svn: 135038 --- clang/lib/CodeGen/CodeGenFunction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') 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); -- cgit v1.2.3