Lines Matching defs:CSI

3005   else if (const CapturedRegionScopeInfo *CSI = getCurCapturedRegion())
3006 currentDecl = CSI->TheCapturedDecl;
12300 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var,
12305 if (CSI->CaptureMap.count(Var)) {
12310 CaptureType = CSI->getCapture(Var).getCaptureType();
12315 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var);
12317 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable))
12341 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var,
12345 bool IsBlock = isa<BlockScopeInfo>(CSI);
12346 bool IsLambda = isa<LambdaScopeInfo>(CSI);
12388 if (HasBlocksAttr && (IsLambda || isa<CapturedRegionScopeInfo>(CSI))) {
12830 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI);
12834 if (isVariableAlreadyCapturedInScopeInfo(CSI, Var, Nested, CaptureType,
12843 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);
12857 if (!isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this))
12922 if (!CSI->isVLATypeCaptured(VAT)) {
12924 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) {
12926 } else if (auto CRSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
12943 CSI->addVLATypeCapture(ExprLoc, SizeType);
12982 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) {
12989 Diag(cast<LambdaScopeInfo>(CSI)->Lambda->getLocStart(),
13018 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]);
13020 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) {
13026 } else if (CapturedRegionScopeInfo *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
13033 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);