Searched refs:CapturingVarExpr (Results 1 – 1 of 1) sorted by relevance
1042 void markVariableExprAsNonODRUsed(Expr *CapturingVarExpr) { in markVariableExprAsNonODRUsed() argument1043 assert(isa<DeclRefExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()1044 isa<MemberExpr>(CapturingVarExpr) || in markVariableExprAsNonODRUsed()1045 isa<FunctionParmPackExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()1046 NonODRUsedCapturingExprs.insert(CapturingVarExpr); in markVariableExprAsNonODRUsed()1048 bool isVariableExprMarkedAsNonODRUsed(Expr *CapturingVarExpr) const { in isVariableExprMarkedAsNonODRUsed() argument1049 assert(isa<DeclRefExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()1050 isa<MemberExpr>(CapturingVarExpr) || in isVariableExprMarkedAsNonODRUsed()1051 isa<FunctionParmPackExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()1052 return NonODRUsedCapturingExprs.count(CapturingVarExpr); in isVariableExprMarkedAsNonODRUsed()