Lines Matching full:bsi
4574 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CheckUnaryExprOrTypeTraitOperand() local
4575 DC = BSI->TheDecl; in CheckUnaryExprOrTypeTraitOperand()
5286 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CreateBuiltinArraySubscriptExpr() local
5287 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
16103 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back()); in ActOnBlockStmtExpr() local
16104 BlockDecl *BD = BSI->TheDecl; in ActOnBlockStmtExpr()
16106 if (BSI->HasImplicitReturnType) in ActOnBlockStmtExpr()
16107 deduceClosureReturnType(*BSI); in ActOnBlockStmtExpr()
16110 if (!BSI->ReturnType.isNull()) in ActOnBlockStmtExpr()
16111 RetTy = BSI->ReturnType; in ActOnBlockStmtExpr()
16117 if (!BSI->FunctionType.isNull()) { in ActOnBlockStmtExpr()
16118 const FunctionType *FTy = BSI->FunctionType->castAs<FunctionType>(); in ActOnBlockStmtExpr()
16133 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
16169 computeNRVO(Body, BSI); in ActOnBlockStmtExpr()
16180 for (Capture &Cap : BSI->Captures) { in ActOnBlockStmtExpr()
16244 BD->setCaptures(Context, Captures, BSI->CXXThisCaptureIndex != 0); in ActOnBlockStmtExpr()
18373 static bool captureInBlock(BlockScopeInfo *BSI, ValueDecl *Var, in captureInBlock() argument
18434 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, SourceLocation(), in captureInBlock()
18960 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) { in tryCaptureVariable() local
18961 Invalid = !captureInBlock(BSI, Var, ExprLoc, BuildAndDiagnose, CaptureType, in tryCaptureVariable()