Fix <rdar://problem/6312683> clang block rewriter:
llvm-svn: 58011
This commit is contained in:
parent
7f39e2d85a
commit
9eca18e4ed
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue