Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp18380 const bool HasBlocksAttr = Var->hasAttr<BlocksAttr>(); in isVariableCapturable() local
18383 if (HasBlocksAttr && (IsLambda || isa<CapturedRegionScopeInfo>(CSI))) { in isVariableCapturable()
18452 const bool HasBlocksAttr = Var->hasAttr<BlocksAttr>(); in captureInBlock() local
18453 if (HasBlocksAttr || CaptureType->isReferenceType() || in captureInBlock()
18466 BSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, SourceLocation(), in captureInBlock()