Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp2138 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local
2139 if (CurLSI && CurLSI->Lambda && in getCurLambda()
2140 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
2146 return CurLSI; in getCurLambda()
H A DSemaExprCXX.cpp1063 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local
1104 (!CurLSI || !CurLSI->Lambda || CurLSI->Lambda->getDeclContext() == in adjustCVQualifiersForCXXThisWithinLambda()
1107 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()
1109 if (!CurLSI->isCXXThisCaptured()) in adjustCVQualifiersForCXXThisWithinLambda()
1112 auto C = CurLSI->getCXXThisCapture(); in adjustCVQualifiersForCXXThisWithinLambda()
1116 if (CurLSI->CallOperator->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()
1125 assert(CurLSI && "While computing 'this' capture-type for a generic " in adjustCVQualifiersForCXXThisWithinLambda()
1127 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && in adjustCVQualifiersForCXXThisWithinLambda()
1132 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaExpr.cpp6312 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local
6316 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6317 !UME->isImplicitAccess() || CurLSI->isCXXThisCaptured()) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6340 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6341 CurLSI->addPotentialThisCapture(CallLoc); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()