Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Block

30   // Is it a block pointer?
35 // Check if the block pointer type takes no arguments and
186 // Check if the second parameter is the proper block type.
187 const ParmVarDecl *Block = D->getParamDecl(1);
188 QualType Ty = Block->getType();
193 // sets it, and calls the block. Basically, an AST dump of:
195 // void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) {
198 // block();
205 DeclRefExpr *DR = M.makeDeclRefExpr(Block);
252 // Check if the second parameter is a block.
258 // Everything checks out. Create a fake body that just calls the block.
261 // void dispatch_sync(dispatch_queue_t queue, void (^block)(void)) {
262 // block();