Home
last modified time | relevance | path

Searched refs:CurLSI (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp2315 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local
2316 if (CurLSI && CurLSI->Lambda && in getCurLambda()
2317 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
2323 return CurLSI; in getCurLambda()
H A DSemaExprCXX.cpp1083 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local
1124 (!CurLSI || !CurLSI->Lambda || CurLSI->Lambda->getDeclContext() == in adjustCVQualifiersForCXXThisWithinLambda()
1127 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()
1129 if (!CurLSI->isCXXThisCaptured()) in adjustCVQualifiersForCXXThisWithinLambda()
1132 auto C = CurLSI->getCXXThisCapture(); in adjustCVQualifiersForCXXThisWithinLambda()
1136 if (CurLSI->CallOperator->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1145 if (CurLSI && isLambdaCallOperator(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()
1146 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1151 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaExpr.cpp6542 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local
6546 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6547 !UME->isImplicitAccess() || CurLSI->isCXXThisCaptured()) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6570 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6571 CurLSI->addPotentialThisCapture(CallLoc); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()