Home
last modified time | relevance | path

Searched refs:ImpCaptureStyle (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h675 ImplicitCaptureStyle ImpCaptureStyle; variable
678 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style) {} in CapturingScopeInfo()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp116 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda()
495 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope()
497 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref; in buildLambdaScope()
1755 mapImplicitCaptureStyle(LSI->ImpCaptureStyle); in BuildLambdaExpr()
H A DSemaExprCXX.cpp1252 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval && in buildLambdaThisCaptureFixit()
1316 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture()
1317 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture()
1318 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture()
1319 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture()
H A DSemaExpr.cpp6546 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6570 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
18530 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
18640 assert(LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None); in buildLambdaCaptureFixit()
18799 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
18876 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable()
H A DSemaDecl.cpp14666 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
14668 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
14670 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()