Lines Matching refs:LSI
6951 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI, in getCaptureLocation() argument
6953 for (const Capture &Capture : LSI->Captures) { in getCaptureLocation()
7053 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow() local
7055 CaptureLoc = getCaptureLocation(LSI, cast<VarDecl>(ShadowedDecl)); in CheckShadow()
7115 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) { in DiagnoseShadowingLambdaDecls() argument
7116 for (const auto &Shadow : LSI->ShadowingDecls) { in DiagnoseShadowingLambdaDecls()
7119 SourceLocation CaptureLoc = getCaptureLocation(LSI, ShadowedDecl); in DiagnoseShadowingLambdaDecls()
12806 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo() local
12807 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
12808 LSI->Lambda = LambdaClass; in RebuildLambdaScopeInfo()
12809 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
12813 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
12815 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
12817 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
12820 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); in RebuildLambdaScopeInfo()
12821 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
12833 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
12840 LSI->addThisCapture(/*Nested*/ false, C.getLocation(), in RebuildLambdaScopeInfo()
12844 LSI->addVLATypeCapture(C.getLocation(), I->getType()); in RebuildLambdaScopeInfo()
13134 auto *LSI = getCurLambda(); in ActOnFinishFunctionBody() local
13135 if (LSI->HasImplicitReturnType) { in ActOnFinishFunctionBody()
13136 deduceClosureReturnType(*LSI); in ActOnFinishFunctionBody()
13142 LSI->ReturnType.isNull() ? Context.VoidTy : LSI->ReturnType; in ActOnFinishFunctionBody()