Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DScopeInfo.h141 class CapturingScopeInfo : public FunctionScopeInfo {
223 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function
292 static bool classof(const CapturingScopeInfo *BSI) { return true; } in classof()
296 class BlockScopeInfo : public CapturingScopeInfo {
309 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
323 class LambdaScopeInfo : public CapturingScopeInfo {
356 : CapturingScopeInfo(Diag, ImpCap_None), Lambda(Lambda), in LambdaScopeInfo()
/external/clang/lib/Sema/
DSemaLambda.cpp619 case CapturingScopeInfo::ImpCap_None: in ActOnLambdaExpr()
623 case CapturingScopeInfo::ImpCap_LambdaByval: in ActOnLambdaExpr()
627 case CapturingScopeInfo::ImpCap_LambdaByref: in ActOnLambdaExpr()
631 case CapturingScopeInfo::ImpCap_Block: in ActOnLambdaExpr()
DSemaExprCXX.cpp703 if (CapturingScopeInfo *CSI = in CheckCXXThisCapture()
704 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) { in CheckCXXThisCapture()
710 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture()
711 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture()
712 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture()
731 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]); in CheckCXXThisCapture()
DSemaStmt.cpp1842 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt()
1961 if (isa<CapturingScopeInfo>(getCurFunction())) in ActOnReturnStmt()
DSemaExpr.cpp9055 CapturingScopeInfo::Capture &Cap = BSI->Captures[i]; in ActOnBlockStmtExpr()
10047 CapturingScopeInfo *CSI = in tryCaptureVariable()
10048 cast<CapturingScopeInfo>(FunctionScopes[FunctionScopesIndex]); in tryCaptureVariable()
10061 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var); in tryCaptureVariable()
10108 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable()
10130 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]); in tryCaptureVariable()