Home | History | Annotate | Download | only in Sema

Lines Matching refs:BSI

2909   if (const BlockScopeInfo *BSI = getCurBlock())
2910 currentDecl = BSI->TheDecl;
10588 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back());
10590 if (BSI->HasImplicitReturnType)
10591 deduceClosureReturnType(*BSI);
10596 if (!BSI->ReturnType.isNull())
10597 RetTy = BSI->ReturnType;
10599 bool NoReturn = BSI->TheDecl->hasAttr<NoReturnAttr>();
10605 for (unsigned i = 0, e = BSI->Captures.size(); i != e; i++) {
10606 CapturingScopeInfo::Capture &Cap = BSI->Captures[i];
10613 BSI->TheDecl->setCaptures(Context, Captures.begin(), Captures.end(),
10614 BSI->CXXThisCaptureIndex != 0);
10617 if (!BSI->FunctionType.isNull()) {
10618 const FunctionType *FTy = BSI->FunctionType->getAs<FunctionType>();
10633 BlockTy = BSI->FunctionType;
10651 DiagnoseUnusedParameters(BSI->TheDecl->param_begin(),
10652 BSI->TheDecl->param_end());
10660 BSI->TheDecl->setBody(cast<CompoundStmt>(Body));
10666 !BSI->TheDecl->isDependentContext())
10667 computeNRVO(Body, BSI);
10669 BlockExpr *Result = new (Context) BlockExpr(BSI->TheDecl, BlockTy);
11715 static bool captureInBlock(BlockScopeInfo *BSI, VarDecl *Var,
11797 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc,
12297 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) {
12298 if (!captureInBlock(BSI, Var, ExprLoc,