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