On 12/10/18 2:52 PM, Marek Polacek wrote:
+  if (processing_template_decl && value_dependent_expression_p (expr))

You don't need to check processing_template_decl before value_dependent_expression_p.

I would lean toward checking for value-dependence in convert_nontype_argument, which already does that a lot. Enough, actually, that perhaps we should remember the result in a local variable.

Jason

Reply via email to