Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSema.cpp1204 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back()); in getCurLambda() local
1205 if (CurLSI && CurLSI->Lambda && in getCurLambda()
1206 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
1212 return CurLSI; in getCurLambda()
DSemaExprMember.cpp978 LambdaScopeInfo *const CurLSI = getCurLambda(); in BuildMemberReferenceExpr() local
1004 if (!BaseExpr && CurLSI) { in BuildMemberReferenceExpr()
1021 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in BuildMemberReferenceExpr()
1022 CurLSI->addPotentialThisCapture(Loc); in BuildMemberReferenceExpr()
DSemaExprCXX.cpp880 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() local
905 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()
/external/llvm-project/clang/lib/Sema/
DSema.cpp2085 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() local
2086 if (CurLSI && CurLSI->Lambda && in getCurLambda()
2087 !CurLSI->Lambda->Encloses(CurContext)) { in getCurLambda()
2093 return CurLSI; in getCurLambda()
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()
DSemaExpr.cpp6275 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() local
6279 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()