Searched refs:CapturingScopeInfo (Results 1 – 5 of 5) sorted by relevance
141 class CapturingScopeInfo : public FunctionScopeInfo {223 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function292 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()
619 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()
703 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()
1842 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt()1961 if (isa<CapturingScopeInfo>(getCurFunction())) in ActOnReturnStmt()
9055 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()