and <rdar://problem/
6344601> clang ObjC rewriter: crash passing Block parameter?
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59251
91177308-0d34-0410-b5e6-
96231b3b80d8
// Find any imported blocks...they will need special attention.
for (unsigned i = 0; i < BlockDeclRefs.size(); i++)
if (isBlockPointerType(BlockDeclRefs[i]->getType())) {
- GetBlockCallExprs(Blocks[i]);
+ GetBlockCallExprs(BlockDeclRefs[i]);
ImportedBlockDecls.insert(BlockDeclRefs[i]->getDecl());
}
}