Lines Matching refs:LSI

3003   else if (const LambdaScopeInfo *LSI = getCurLambda())  in BuildPredefinedExpr()  local
3004 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
12539 LambdaScopeInfo *LSI, in addAsFieldToClosureType() argument
12544 CXXRecordDecl *Lambda = LSI->Lambda; in addAsFieldToClosureType()
12584 LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size()); in addAsFieldToClosureType()
12601 LSI->ArrayIndexVars.push_back(IterationVar); in addAsFieldToClosureType()
12649 LSI->ExprNeedsCleanups = true; in addAsFieldToClosureType()
12660 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() argument
12677 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
12738 ExprResult Result = addAsFieldToClosureType(S, LSI, Var, in captureInLambda()
12755 if (!LSI->Mutable && !CaptureType->isReferenceType()) in captureInLambda()
12761 LSI->addCapture(Var, /*IsBlock=*/false, ByRef, RefersToCapturedVariable, in captureInLambda()
12843 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() local
12844 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
12848 Diag(LSI->Lambda->getLocStart(), diag::note_lambda_decl); in tryCaptureVariable()
12924 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in tryCaptureVariable() local
12925 CapRecord = LSI->Lambda; in tryCaptureVariable()
13033 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() local
13034 if (!captureInLambda(LSI, Var, ExprLoc, in tryCaptureVariable()
13110 if (LambdaScopeInfo *LSI = getCurLambda()) { in UpdateMarkingForLValueToRValue() local
13119 LSI->markVariableExprAsNonODRUsed(SansParensExpr); in UpdateMarkingForLValueToRValue()
13186 if (LambdaScopeInfo *const LSI = SemaRef.getCurLambda()) { in DoMarkVarDeclReferenced() local
13198 LSI->addPotentialCapture(E->IgnoreParens()); in DoMarkVarDeclReferenced()