Lines Matching defs:CSI
2828 else if (const CapturedRegionScopeInfo *CSI = getCurCapturedRegion())
2829 currentDecl = CSI->TheCapturedDecl;
11356 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var,
11361 if (CSI->CaptureMap.count(Var)) {
11366 CaptureType = CSI->getCapture(Var).getCaptureType();
11371 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var);
11373 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable))
11397 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var,
11401 bool IsBlock = isa<BlockScopeInfo>(CSI);
11402 bool IsLambda = isa<LambdaScopeInfo>(CSI);
11447 if (HasBlocksAttr && (IsLambda || isa<CapturedRegionScopeInfo>(CSI))) {
11868 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI);
11872 if (isVariableAlreadyCapturedInScopeInfo(CSI, Var, Nested, CaptureType,
11881 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);
11895 if (!isVariableCapturable(CSI, Var, ExprLoc, BuildAndDiagnose, *this))
11898 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) {
11905 Diag(cast<LambdaScopeInfo>(CSI)->Lambda->getLocStart(),
11934 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]);
11936 if (BlockScopeInfo *BSI = dyn_cast<BlockScopeInfo>(CSI)) {
11942 } else if (CapturedRegionScopeInfo *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
11949 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);