Lines Matching refs:LSI
3062 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() local
3063 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
3890 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in captureVariablyModifiedType() local
3891 CapRecord = LSI->Lambda; in captureVariablyModifiedType()
3972 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr() local
3973 DC = LSI->CallOperator; in CreateUnaryExprOrTypeTraitExpr()
13433 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, in addAsFieldToClosureType() argument
13437 CXXRecordDecl *Lambda = LSI->Lambda; in addAsFieldToClosureType()
13450 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() argument
13467 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
13527 addAsFieldToClosureType(S, LSI, CaptureType, DeclRefType, Loc, in captureInLambda()
13540 if (!LSI->Mutable && !CaptureType->isReferenceType()) in captureInLambda()
13546 LSI->addCapture(Var, /*IsBlock=*/false, ByRef, RefersToCapturedVariable, in captureInLambda()
13631 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() local
13632 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
13636 Diag(LSI->Lambda->getLocStart(), diag::note_lambda_decl); in tryCaptureVariable()
13732 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() local
13733 if (!captureInLambda(LSI, Var, ExprLoc, in tryCaptureVariable()
13809 if (LambdaScopeInfo *LSI = getCurLambda()) { in UpdateMarkingForLValueToRValue() local
13818 LSI->markVariableExprAsNonODRUsed(SansParensExpr); in UpdateMarkingForLValueToRValue()
13883 if (LambdaScopeInfo *const LSI = SemaRef.getCurLambda()) { in DoMarkVarDeclReferenced() local
13895 LSI->addPotentialCapture(E->IgnoreParens()); in DoMarkVarDeclReferenced()