Home
last modified time | relevance | path

Searched refs:BlockScopeInfo (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp250 BlockScopeInfo::~BlockScopeInfo() { } in ~BlockScopeInfo()
H A DSema.cpp1981 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
2153 BlockScopeInfo *Sema::getCurBlock() { in getCurBlock()
2157 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
2173 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
H A DSemaLambda.cpp747 assert(isa<BlockScopeInfo>(CSI)); in deduceClosureReturnType()
H A DSemaExpr.cpp3471 if (const BlockScopeInfo *BSI = getCurBlock()) in BuildPredefinedExpr()
4507 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr()
5649 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CreateBuiltinArraySubscriptExpr()
15428 BlockScopeInfo *CurBlock = getCurBlock(); in ActOnBlockArguments()
15566 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back()); in ActOnBlockStmtExpr()
17447 bool IsBlock = isa<BlockScopeInfo>(CSI); in isVariableCapturable()
17506 static bool captureInBlock(BlockScopeInfo *BSI, VarDecl *Var, in captureInBlock()
18033 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) { in tryCaptureVariable()
H A DAnalysisBasedWarnings.cpp1439 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
H A DSemaStmt.cpp3608 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
H A DSemaCodeComplete.cpp387 if (sema::BlockScopeInfo *BSI = S.getCurBlock()) { in enterReturn()
H A DTreeTransform.h14052 BlockScopeInfo *blockScope = SemaRef.getCurBlock(); in TransformBlockExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h741 class BlockScopeInfo final : public CapturingScopeInfo {
753 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() function
759 ~BlockScopeInfo() override;
H A DSema.h220 class BlockScopeInfo; variable
1897 sema::BlockScopeInfo *getCurBlock();