Searched refs:BlockScopeInfo (Results 1 – 10 of 10) sorted by relevance
261 BlockScopeInfo::~BlockScopeInfo() { } in ~BlockScopeInfo()
2177 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()2345 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()2349 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()2365 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
738 assert(isa<BlockScopeInfo>(CSI)); in deduceClosureReturnType()
4574 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CheckUnaryExprOrTypeTraitOperand()5286 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CreateBuiltinArraySubscriptExpr()15966 BlockScopeInfo *CurBlock = getCurBlock(); in ActOnBlockArguments()16103 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back()); in ActOnBlockStmtExpr()18300 bool IsBlock = isa<BlockScopeInfo>(CSI); in isVariableCapturable()18373 static bool captureInBlock(BlockScopeInfo *BSI, ValueDecl *Var, in captureInBlock()18960 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) { in tryCaptureVariable()
3497 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()3576 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
1459 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
416 if (sema::BlockScopeInfo *BSI = S.getCurBlock()) { in enterReturn()
15852 BlockScopeInfo *blockScope = SemaRef.getCurBlock(); in TransformBlockExpr()
784 class BlockScopeInfo final : public CapturingScopeInfo {796 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() function802 ~BlockScopeInfo() override;
234 class BlockScopeInfo; variable773 sema::BlockScopeInfo *getCurBlock();