Lines Matching refs:CurBlock
8898 BlockScopeInfo *CurBlock = getCurBlock();
8932 CurBlock->TheDecl->setSignatureAsWritten(Sig);
8933 CurBlock->FunctionType = T;
8940 CurBlock->TheDecl->setIsVariadic(isVariadic);
8954 CurBlock->ReturnType = RetTy;
8955 CurBlock->TheDecl->setBlockMissingReturnType(false);
8956 CurBlock->HasImplicitReturnType = false;
8978 BuildParmVarDeclForTypedef(CurBlock->TheDecl,
8987 CurBlock->TheDecl->setParams(Params);
8988 CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(),
8989 CurBlock->TheDecl->param_end(),
8994 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo);
9001 for (BlockDecl::param_iterator AI = CurBlock->TheDecl->param_begin(),
9002 E = CurBlock->TheDecl->param_end(); AI != E; ++AI) {
9003 (*AI)->setOwningFunction(CurBlock->TheDecl);
9007 CheckShadow(CurBlock->TheScope, *AI);
9009 PushOnScopeChains(*AI, CurBlock->TheScope);
9021 // Pop off CurBlock, handle nested blocks.