Searched refs:LambdaScopeInfo (Results 1 – 13 of 13) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 75 isa<clang::sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]) && in getStackIndexOfNearestEnclosingCaptureReadyLambda() 84 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; in getStackIndexOfNearestEnclosingCaptureReadyLambda() 87 const clang::sema::LambdaScopeInfo *LSI = in getStackIndexOfNearestEnclosingCaptureReadyLambda() 88 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]); in getStackIndexOfNearestEnclosingCaptureReadyLambda() 116 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda() 191 const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI = in getStackIndexOfNearestEnclosingCaptureCapableLambda() 192 cast<sema::LambdaScopeInfo>(FunctionScopes[IndexOfCaptureReadyLambda]); in getStackIndexOfNearestEnclosingCaptureCapableLambda() 228 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { in getGenericLambdaTemplateParameterList() 481 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, in buildLambdaScope() 493 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope() [all …]
|
H A D | Sema.cpp | 1927 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope() 1928 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() 1934 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() 2110 LambdaScopeInfo *Sema::getEnclosingLambda() const { in getEnclosingLambda() 2112 if (auto *LSI = dyn_cast<sema::LambdaScopeInfo>(Scope)) { in getEnclosingLambda() 2126 LambdaScopeInfo *Sema::getCurLambda(bool IgnoreNonLambdaCapturingScope) { in getCurLambda() 2133 while (I != E && isa<CapturingScopeInfo>(*I) && !isa<LambdaScopeInfo>(*I)) in getCurLambda() 2138 auto *CurLSI = dyn_cast<LambdaScopeInfo>(*I); in getCurLambda() 2151 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda() 2152 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda()
|
H A D | ScopeInfo.cpp | 233 void LambdaScopeInfo::visitPotentialCaptures( in visitPotentialCaptures()
|
H A D | SemaExprCXX.cpp | 1063 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() 1103 I-- && isa<LambdaScopeInfo>(FunctionScopes[I]) && in adjustCVQualifiersForCXXThisWithinLambda() 1105 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); in adjustCVQualifiersForCXXThisWithinLambda() 1107 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda() 1229 static void buildLambdaThisCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI) { in buildLambdaThisCaptureFixit() 1286 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() 1333 dyn_cast<LambdaScopeInfo>(FunctionScopes[MaxFunctionScopesIndex])) && in CheckCXXThisCapture() 7908 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 8483 LambdaScopeInfo *const CurrentLSI = in ActOnFinishFullExpr()
|
H A D | SemaExpr.cpp | 3462 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() 4403 (isa<CapturedRegionScopeInfo>(CSI) || isa<LambdaScopeInfo>(CSI))) in captureVariablyModifiedType() 4466 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr() 5607 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateBuiltinArraySubscriptExpr() 6312 LambdaScopeInfo *const CurLSI = S.getCurLambda(); in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs() 17251 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable) && in isVariableAlreadyCapturedInScopeInfo() 17282 bool IsLambda = isa<LambdaScopeInfo>(CSI); in isVariableCapturable() 17452 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() 17468 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda() 17576 static void buildLambdaCaptureFixit(Sema &Sema, LambdaScopeInfo *LSI, in buildLambdaCaptureFixit() [all …]
|
H A D | SemaTemplateVariadic.cpp | 282 if (isa<sema::LambdaScopeInfo>(SI)) in isUnexpandedParameterPackPermitted()
|
H A D | SemaStmt.cpp | 3599 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt() 3895 const LambdaScopeInfo *LambdaSI = getCurLambda(); in DeduceFunctionTypeFromReturnExpr()
|
H A D | AnalysisBasedWarnings.cpp | 1441 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|
H A D | SemaDecl.cpp | 7544 static SourceLocation getCaptureLocation(const LambdaScopeInfo *LSI, in getCaptureLocation() 7657 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow() 7665 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow() 7719 void Sema::DiagnoseShadowingLambdaDecls(const LambdaScopeInfo *LSI) { in DiagnoseShadowingLambdaDecls() 14089 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo()
|
H A D | SemaTemplate.cpp | 66 if (auto *LSI = dyn_cast<LambdaScopeInfo>(FSI)) { in getTemplateDepth()
|
H A D | TreeTransform.h | 12692 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 818 class LambdaScopeInfo final : 901 LambdaScopeInfo(DiagnosticsEngine &Diag) in LambdaScopeInfo() function
|
H A D | Sema.h | 225 class LambdaScopeInfo; variable 1817 sema::LambdaScopeInfo *PushLambdaScope(); 1870 sema::LambdaScopeInfo *getEnclosingLambda() const; 1876 sema::LambdaScopeInfo * 1880 sema::LambdaScopeInfo *getCurGenericLambda(); 2631 void DiagnoseShadowingLambdaDecls(const sema::LambdaScopeInfo *LSI); 6598 void buildLambdaScope(sema::LambdaScopeInfo *LSI, 6634 void addInitCapture(sema::LambdaScopeInfo *LSI, VarDecl *Var); 6638 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI); 6692 sema::LambdaScopeInfo *LSI);
|