Lines Matching defs:LSI

8246 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI,
8248 for (const Capture &Capture : LSI->Captures) {
8345 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction());
8350 CaptureLoc = getCaptureLocation(LSI, VD);
8426 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) {
8427 for (const auto &Shadow : LSI->ShadowingDecls) {
8432 SourceLocation CaptureLoc = getCaptureLocation(LSI, VD);
8444 LSI->isCXXThisCaptured() ? diag::warn_decl_shadow
15033 if (LambdaScopeInfo *LSI = S.getCurLambda())
15034 LSI->ExplicitObjectParameter = P;
15509 LambdaScopeInfo *LSI = PushLambdaScope();
15510 LSI->CallOperator = CallOperator;
15511 LSI->Lambda = LambdaClass;
15512 LSI->ReturnType = CallOperator->getReturnType();
15520 LSI->AfterParameterList = CurContext == CallOperator;
15531 LSI->GLTemplateParameterList = FTD->getTemplateParameters();
15535 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None;
15537 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval;
15539 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref;
15542 LSI->IntroducerRange = DNI.getCXXOperatorNameRange();
15543 LSI->Mutable = !CallOperator->isConst();
15545 LSI->ExplicitObjectParameter = CallOperator->getParamDecl(0);
15547 // Add the captures to the LSI so they can be noted as already
15556 LSI->addCapture(VD, /*IsBlock*/false, ByRef,
15563 LSI->addThisCapture(/*Nested*/ false, C.getLocation(), I->getType(),
15566 LSI->addVLATypeCapture(C.getLocation(), I->getCapturedVLAType(),
15571 return LSI;
15671 // have the LSI properly restored.
16045 auto *LSI = getCurLambda();
16046 if (LSI->HasImplicitReturnType) {
16047 deduceClosureReturnType(*LSI);
16053 LSI->ReturnType.isNull() ? Context.VoidTy : LSI->ReturnType;