Searched refs:CapturingVarExpr (Results 1 – 2 of 2) sorted by relevance
987 void markVariableExprAsNonODRUsed(Expr *CapturingVarExpr) { in markVariableExprAsNonODRUsed() argument988 assert(isa<DeclRefExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()989 isa<MemberExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()990 isa<FunctionParmPackExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()991 NonODRUsedCapturingExprs.insert(CapturingVarExpr); in markVariableExprAsNonODRUsed()993 bool isVariableExprMarkedAsNonODRUsed(Expr *CapturingVarExpr) const { in isVariableExprMarkedAsNonODRUsed() argument994 assert(isa<DeclRefExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()995 isa<MemberExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()996 isa<FunctionParmPackExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()997 return NonODRUsedCapturingExprs.count(CapturingVarExpr); in isVariableExprMarkedAsNonODRUsed()
825 void markVariableExprAsNonODRUsed(Expr *CapturingVarExpr) { in markVariableExprAsNonODRUsed() argument826 assert(isa<DeclRefExpr>(CapturingVarExpr) in markVariableExprAsNonODRUsed()827 || isa<MemberExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()828 NonODRUsedCapturingExprs.insert(CapturingVarExpr); in markVariableExprAsNonODRUsed()830 bool isVariableExprMarkedAsNonODRUsed(Expr *CapturingVarExpr) const { in isVariableExprMarkedAsNonODRUsed() argument831 assert(isa<DeclRefExpr>(CapturingVarExpr) in isVariableExprMarkedAsNonODRUsed()832 || isa<MemberExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()833 return NonODRUsedCapturingExprs.count(CapturingVarExpr); in isVariableExprMarkedAsNonODRUsed()