Home | History | Annotate | Download | only in Sema

Lines Matching defs:LSI

2997   else if (const LambdaScopeInfo *LSI = getCurLambda())
2998 currentDecl = LSI->CallOperator;
12884 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var,
12888 CXXRecordDecl *Lambda = LSI->Lambda;
12901 static bool captureInLambda(LambdaScopeInfo *LSI,
12918 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref);
12978 addAsFieldToClosureType(S, LSI, Var, CaptureType, DeclRefType, Loc,
12991 if (!LSI->Mutable && !CaptureType->isReferenceType())
12997 LSI->addCapture(Var, /*IsBlock=*/false, ByRef, RefersToCapturedVariable,
13083 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);
13084 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) {
13088 Diag(LSI->Lambda->getLocStart(), diag::note_lambda_decl);
13164 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) {
13165 CapRecord = LSI->Lambda;
13296 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI);
13297 if (!captureInLambda(LSI, Var, ExprLoc,
13373 if (LambdaScopeInfo *LSI = getCurLambda()) {
13382 LSI->markVariableExprAsNonODRUsed(SansParensExpr);
13447 if (LambdaScopeInfo *const LSI = SemaRef.getCurLambda()) {
13459 LSI->addPotentialCapture(E->IgnoreParens());