Searched refs:LambdaScopeInfo (Results 1 – 13 of 13) sorted by relevance
87 const clang::sema::LambdaScopeInfo *LSI = in getStackIndexOfNearestEnclosingCaptureReadyLambda()191 const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI = in getStackIndexOfNearestEnclosingCaptureCapableLambda()483 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, in buildLambdaScope()495 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope()497 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref; in buildLambdaScope()518 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) { in finishLambdaExplicitCaptures()526 LambdaScopeInfo *LSI = getCurLambda(); in ActOnLambdaExplicitTemplateParameterList()894 LambdaScopeInfo *const LSI = getCurLambda(); in ActOnStartOfLambdaDefinition()1253 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(FunctionScopes.back()); in ActOnLambdaError()1634 LambdaScopeInfo LSI = *cast<LambdaScopeInfo>(FunctionScopes.back()); in ActOnLambdaExpr()[all …]
2091 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope()2092 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope()2098 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth()2287 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda()2289 if (auto *LSI = dyn_cast<sema::LambdaScopeInfo>(Scope)) { in getEnclosingLambda()2303 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda()2310 while (I != E && isa<CapturingScopeInfo>(*I) && !isa<LambdaScopeInfo>(*I)) in getCurLambda()2315 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda()2328 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda()2329 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda()
233 void LambdaScopeInfo::visitPotentialCaptures( in visitPotentialCaptures()
1083 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda()1123 I-- && isa<LambdaScopeInfo>(FunctionScopes[I]) && in adjustCVQualifiersForCXXThisWithinLambda()1125 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); in adjustCVQualifiersForCXXThisWithinLambda()1127 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda()1248 static void buildLambdaThisCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI) { in buildLambdaThisCaptureFixit()1305 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture()1352 isa<LambdaScopeInfo>(FunctionScopes[MaxFunctionScopesIndex])) && in CheckCXXThisCapture()8241 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()8816 LambdaScopeInfo *const CurrentLSI = in ActOnFinishFullExpr()
3532 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr()4615 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr()6542 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()18313 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable) && in isVariableAlreadyCapturedInScopeInfo()18344 bool IsLambda = isa<LambdaScopeInfo>(CSI); in isVariableCapturable()18514 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda()18798 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable()18882 auto *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable()18939 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable()19085 if (LambdaScopeInfo *LSI = S.getCurLambda()) in rebuildPotentialResultsAsNonOdrUsed()[all …]
282 if (isa<sema::LambdaScopeInfo>(SI)) in isUnexpandedParameterPackPermitted()
3570 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()3867 const LambdaScopeInfo *LambdaSI = getCurLambda(); in DeduceFunctionTypeFromReturnExpr()
1433 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
7984 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI, in getCaptureLocation()8097 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()8105 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()8157 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) { in DiagnoseShadowingLambdaDecls()14659 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo()
69 if (auto *LSI = dyn_cast<LambdaScopeInfo>(FSI)) { in getTemplateDepth()
13052 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr()
830 class LambdaScopeInfo final :913 LambdaScopeInfo(DiagnosticsEngine &Diag) in LambdaScopeInfo() function
227 class LambdaScopeInfo; variable1921 sema::LambdaScopeInfo *PushLambdaScope();1974 sema::LambdaScopeInfo *getEnclosingLambda() const;1980 sema::LambdaScopeInfo *1984 sema::LambdaScopeInfo *getCurGenericLambda();2833 void DiagnoseShadowingLambdaDecls(const sema::LambdaScopeInfo *LSI);6957 void buildLambdaScope(sema::LambdaScopeInfo *LSI,6993 void addInitCapture(sema::LambdaScopeInfo *LSI, VarDecl *Var);6997 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI);7051 sema::LambdaScopeInfo *LSI);