Lines Matching refs:LSI

8119 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI,  in getCaptureLocation()  argument
8121 for (const Capture &Capture : LSI->Captures) { in getCaptureLocation()
8215 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow() local
8220 CaptureLoc = getCaptureLocation(LSI, VD); in CheckShadow()
8291 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) { in DiagnoseShadowingLambdaDecls() argument
8292 for (const auto &Shadow : LSI->ShadowingDecls) { in DiagnoseShadowingLambdaDecls()
8297 SourceLocation CaptureLoc = getCaptureLocation(LSI, VD); in DiagnoseShadowingLambdaDecls()
8309 LSI->isCXXThisCaptured() ? diag::warn_decl_shadow in DiagnoseShadowingLambdaDecls()
14898 if (LambdaScopeInfo *LSI = S.getCurLambda()) in CheckExplicitObjectParameter() local
14899 LSI->ExplicitObjectParameter = P; in CheckExplicitObjectParameter()
15104 if (auto *LSI = getEnclosingLambda()) in CheckParameter() local
15105 LSI->LocalPacks.push_back(New); in CheckParameter()
15361 LambdaScopeInfo *LSI = PushLambdaScope(); in RebuildLambdaScopeInfo() local
15362 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
15363 LSI->Lambda = LambdaClass; in RebuildLambdaScopeInfo()
15364 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
15368 LSI->AfterParameterList = false; in RebuildLambdaScopeInfo()
15372 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
15374 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
15376 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
15379 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); in RebuildLambdaScopeInfo()
15380 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
15382 LSI->ExplicitObjectParameter = CallOperator->getParamDecl(0); in RebuildLambdaScopeInfo()
15393 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
15400 LSI->addThisCapture(/*Nested*/ false, C.getLocation(), I->getType(), in RebuildLambdaScopeInfo()
15403 LSI->addVLATypeCapture(C.getLocation(), I->getCapturedVLAType(), in RebuildLambdaScopeInfo()
15408 return LSI; in RebuildLambdaScopeInfo()
15848 auto *LSI = getCurLambda(); in ActOnFinishFunctionBody() local
15849 if (LSI->HasImplicitReturnType) { in ActOnFinishFunctionBody()
15850 deduceClosureReturnType(*LSI); in ActOnFinishFunctionBody()
15856 LSI->ReturnType.isNull() ? Context.VoidTy : LSI->ReturnType; in ActOnFinishFunctionBody()