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 | 97eab0a271b3dd1a50ad543afd645c833915c096 (patch) | |
tree | 14015f340031c725c44bf49a88ec97ec3b5a0520 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 72510f22b4f4f654e0adf4dad32fda73f3480a33 (diff) | |
download | bcm5719-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.h | 2 |
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); |