Lines Matching refs:Block
671 // Dig through references, function pointers, and block pointers to
689 if (const BlockPointerType *Block = T->getAs<BlockPointerType>()) {
690 T = Block->getPointeeType();
2032 // The argument for a dependent or non-block parameter is a placeholder
2050 // The argument for a block pointer parameter is a block literal with
2052 FunctionTypeLoc *Block = 0;
2075 // Try to get the function prototype behind the block pointer type,
2080 Block = dyn_cast<FunctionTypeLoc>(&TL);
2087 if (!Block) {
2089 // for the block; just use the parameter type as a placeholder.
2106 // We have the function prototype behind the block pointer type, as it was
2109 QualType ResultType = Block->getTypePtr()->getResultType();
2115 if (!BlockProto || Block->getNumArgs() == 0) {
2122 for (unsigned I = 0, N = Block->getNumArgs(); I != N; ++I) {
2125 Params += FormatFunctionParameter(Context, Policy, Block->getArg(I),
2143 // Format as a block literal argument.
3808 // "else" block
3819 // "else if" block