Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h408 ImplicitCaptureStyle ImpCaptureStyle; variable
516 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style), CXXThisCaptureIndex(0), in CapturingScopeInfo()
/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h659 ImplicitCaptureStyle ImpCaptureStyle; variable
662 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style) {} in CapturingScopeInfo()
/external/clang/lib/Sema/
DSemaLambda.cpp113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda()
448 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope()
450 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref; in buildLambdaScope()
1496 mapImplicitCaptureStyle(LSI->ImpCaptureStyle); in BuildLambdaExpr()
DSemaExprCXX.cpp1125 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture()
1126 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture()
1127 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture()
1128 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture()
DSemaExprMember.cpp1021 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in BuildMemberReferenceExpr()
DSemaDecl.cpp11195 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
11197 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
11199 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
DSemaExpr.cpp13467 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
13632 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
13680 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable()
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp116 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda()
494 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope()
496 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref; in buildLambdaScope()
1746 mapImplicitCaptureStyle(LSI->ImpCaptureStyle); in BuildLambdaExpr()
DSemaExprCXX.cpp1286 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture()
1287 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture()
1288 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture()
1289 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture()
DSemaExpr.cpp6279 if (!CurLSI || CurLSI->ImpCaptureStyle == CurLSI->ImpCap_None || in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
6303 if (CurLSI->ImpCaptureStyle != CurLSI->ImpCap_None) in tryImplicitlyCaptureThisIfImplicitMemberFunctionAccessWithDependentArgs()
17308 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
17476 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
17552 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable()
DSemaDecl.cpp13965 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
13967 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
13969 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()