From 9eca18e4ed74b4c6899c97219cad3b5ad9d63a88 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Wed, 22 Oct 2008 23:42:04 +0000 Subject: [PATCH] Fix clang block rewriter: llvm-svn: 58011 --- clang/Driver/RewriteBlocks.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp index 2e7ce0559f76..cab4b8178115 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");