From d4accef391a4aa4c10daeef79c7103fae96a97ba Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 21 Sep 2018 13:22:20 -0400 Subject: [PATCH] * constexpr.c (cxx_eval_outermost_constant_expr): Update comment. From-SVN: r264484 --- gcc/cp/constexpr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index fdea769faa9..b4814743784 100644 --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -4960,6 +4960,9 @@ instantiate_constexpr_fns (tree t) } /* ALLOW_NON_CONSTANT is false if T is required to be a constant expression. + STRICT has the same sense as for constant_value_1: true if we only allow + conforming C++ constant expressions, or false if we want a constant value + even if it doesn't conform. PRETEND_CONST_REQUIRED is true if T is required to be const-evaluated as per P0595 even when ALLOW_NON_CONSTANT is true. */ -- 2.30.2