Searched refs:CurLSI (Results 1 – 6 of 6) sorted by relevance
1204 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back()); in getCurLambda() local1205 if (CurLSI && CurLSI->Lambda && in getCurLambda()1206 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()1212 return CurLSI; in getCurLambda()
978 LambdaScopeInfo *const CurLSI = getCurLambda(); in BuildMemberReferenceExpr() local1004 if (!BaseExpr && CurLSI) { in BuildMemberReferenceExpr()1021 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in BuildMemberReferenceExpr()1022 CurLSI->addPotentialThisCapture(Loc); in BuildMemberReferenceExpr()
880 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local905 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()907 if (!CurLSI->isCXXThisCaptured()) in adjustCVQualifiersForCXXThisWithinLambda()910 auto C = CurLSI->getCXXThisCapture(); in adjustCVQualifiersForCXXThisWithinLambda()914 if (CurLSI->CallOperator->isConst()) in adjustCVQualifiersForCXXThisWithinLambda()922 assert(CurLSI); in adjustCVQualifiersForCXXThisWithinLambda()923 assert(isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()924 assert(CurDC == getLambdaAwareParentOfDeclContext(CurLSI->CallOperator)); in adjustCVQualifiersForCXXThisWithinLambda()
2085 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local2086 if (CurLSI && CurLSI->Lambda && in getCurLambda()2087 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()2093 return CurLSI; in getCurLambda()
1063 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local1104 (!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()
6275 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local6279 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()6280 !UME->isImplicitAccess() || CurLSI->isCXXThisCaptured()) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()6303 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()6304 CurLSI->addPotentialThisCapture(CallLoc); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()