Lines Matching refs:LSI
1284 static void buildLambdaThisCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI) { in buildLambdaThisCaptureFixit() argument
1285 SourceLocation DiagLoc = LSI->IntroducerRange.getEnd(); in buildLambdaThisCaptureFixit()
1286 assert(!LSI->isCXXThisCaptured()); in buildLambdaThisCaptureFixit()
1288 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval && in buildLambdaThisCaptureFixit()
1293 DiagLoc, LSI->NumExplicitCaptures > 0 ? ", this" : "this"); in buildLambdaThisCaptureFixit()
1341 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() local
1342 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
1345 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1349 buildLambdaThisCaptureFixit(*this, LSI); in CheckCXXThisCapture()
1368 LSI->CallOperator->setInvalidDecl(); in CheckCXXThisCapture()
1373 buildLambdaThisCaptureFixit(*this, LSI); in CheckCXXThisCapture()
1463 auto *LSI = dyn_cast<sema::LambdaScopeInfo>(Scope); in MarkThisReferenced() local
1464 if (!LSI) in MarkThisReferenced()
1467 if (LSI->Lambda && !LSI->Lambda->Encloses(CurContext) && in MarkThisReferenced()
1468 LSI->AfterParameterList) in MarkThisReferenced()
1475 if (LSI->isCXXThisCaptured()) { in MarkThisReferenced()
1476 if (!LSI->getCXXThisCapture().isCopyCapture()) in MarkThisReferenced()
1479 const auto *MD = LSI->CallOperator; in MarkThisReferenced()