Fix <rdar://problem/6312683> clang block rewriter:

llvm-svn: 58011
This commit is contained in:
Steve Naroff 2008-10-22 23:42:04 +00:00
parent 7f39e2d85a
commit 9eca18e4ed
1 changed files with 0 additions and 1 deletions

View File

@ -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");