PR c++/67411
* decl2.c (decl_maybe_constant_var_p): Use DECL_HAS_VALUE_EXPR_P.
From-SVN: r231869
2015-12-20 Jason Merrill <jason@redhat.com>
+ PR c++/67411
+ * decl2.c (decl_maybe_constant_var_p): Use DECL_HAS_VALUE_EXPR_P.
+
PR c++/67411
* lambda.c (generic_lambda_fn_p): Split out from...
(maybe_add_lambda_conv_op): ...here.
return false;
if (DECL_DECLARED_CONSTEXPR_P (decl))
return true;
- if (DECL_VALUE_EXPR (decl))
+ if (DECL_HAS_VALUE_EXPR_P (decl))
/* A proxy isn't constant. */
return false;
return (CP_TYPE_CONST_NON_VOLATILE_P (type)