Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp2569 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local
2570 if (CurLSI && CurLSI->Lambda && CurLSI->CallOperator && in getCurLambda()
2571 !CurLSI->Lambda->Encloses(CurContext) && CurLSI->AfterParameterList) { in getCurLambda()
2577 return CurLSI; in getCurLambda()
H A DSemaExprCXX.cpp1102 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local
1143 (!CurLSI || !CurLSI->Lambda || CurLSI->Lambda->getDeclContext() == in adjustCVQualifiersForCXXThisWithinLambda()
1146 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()
1148 if (!CurLSI->isCXXThisCaptured()) in adjustCVQualifiersForCXXThisWithinLambda()
1151 auto C = CurLSI->getCXXThisCapture(); in adjustCVQualifiersForCXXThisWithinLambda()
1154 if (CurLSI->lambdaCaptureShouldBeConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1163 if (CurLSI && isLambdaCallOperator(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()
1164 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1169 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaExpr.cpp6446 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local
6450 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6451 !UME->isImplicitAccess() || CurLSI->isCXXThisCaptured()) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6474 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6475 CurLSI->addPotentialThisCapture(CallLoc); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()