Author: snaroff
Date: Wed Oct 22 18:42:04 2008
New Revision: 58011
URL: http://llvm.org/viewvc/llvm-project?rev=58011&view=rev
Log:
Fix <rdar://problem/6312683> clang block rewriter:
Modified:
cfe/trunk/Driver/RewriteBlocks.cpp
Modified: cfe/trunk/Driver/RewriteBlocks.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteBlocks.cpp?rev=58011&r1=58010&r2=58011&view=diff
==============================================================================
--- cfe/trunk/Driver/RewriteBlocks.cpp (original)
+++ cfe/trunk/Driver/RewriteBlocks.cpp Wed Oct 22 18:42:04 2008
@@ -804,7 +804,6 @@
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");
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits