summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-10-22 23:42:04 +0000
committerSteve Naroff <snaroff@apple.com>2008-10-22 23:42:04 +0000
commit9eca18e4ed74b4c6899c97219cad3b5ad9d63a88 (patch)
tree7c258b65006a48931bb4bc6be3d2ab532f340c30
parent7f39e2d85a6104f7581699b5711875f89d5ed37f (diff)
downloadbcm5719-llvm-9eca18e4ed74b4c6899c97219cad3b5ad9d63a88.tar.gz
bcm5719-llvm-9eca18e4ed74b4c6899c97219cad3b5ad9d63a88.zip
Fix <rdar://problem/6312683> clang block rewriter:
llvm-svn: 58011
-rw-r--r--clang/Driver/RewriteBlocks.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp
index 2e7ce0559f7..cab4b817811 100644
--- a/clang/Driver/RewriteBlocks.cpp
+++ b/clang/Driver/RewriteBlocks.cpp
@@ -804,7 +804,6 @@ bool RewriteBlocks::PointerTypeTakesAnyBlockArguments(QualType QT) {
const PointerType *PT = QT->getAsPointerType();
if (PT) {
FTP = PT->getPointeeType()->getAsFunctionTypeProto();
- assert(FTP && "BlockPointerTypeTakeAnyBlockArguments(): not a function pointer type");
} else {
const BlockPointerType *BPT = QT->getAsBlockPointerType();
assert(BPT && "BlockPointerTypeTakeAnyBlockArguments(): not a block pointer type");
OpenPOWER on IntegriCloud