Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp2352 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local
2353 if (CurLSI && CurLSI->Lambda && in getCurLambda()
2354 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
2360 return CurLSI; in getCurLambda()
H A DSemaExprCXX.cpp1086 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local
1127 (!CurLSI || !CurLSI->Lambda || CurLSI->Lambda->getDeclContext() == in adjustCVQualifiersForCXXThisWithinLambda()
1130 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()
1132 if (!CurLSI->isCXXThisCaptured()) in adjustCVQualifiersForCXXThisWithinLambda()
1135 auto C = CurLSI->getCXXThisCapture(); in adjustCVQualifiersForCXXThisWithinLambda()
1139 if (CurLSI->CallOperator->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1148 if (CurLSI && isLambdaCallOperator(CurDC)) { in adjustCVQualifiersForCXXThisWithinLambda()
1149 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1154 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaExpr.cpp6782 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local
6786 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6787 !UME->isImplicitAccess() || CurLSI->isCXXThisCaptured()) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6810 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6811 CurLSI->addPotentialThisCapture(CallLoc); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()