• Home
  • Raw
  • Download

Lines Matching refs:LSI

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