From: jason Date: Fri, 21 Sep 2018 17:22:20 +0000 (+0000) Subject: * constexpr.c (cxx_eval_outermost_constant_expr): Update comment. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f892eaf4438c6780afa624aadb1d582413bad41;p=thirdparty%2Fgcc.git * constexpr.c (cxx_eval_outermost_constant_expr): Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264484 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/constexpr.c b/gcc/cp/constexpr.c index fdea769faa99..b4814743784a 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. */