projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac51f07
)
* constexpr.c (cxx_eval_outermost_constant_expr): Update comment.
author
Jason Merrill
<jason@gcc.gnu.org>
Fri, 21 Sep 2018 17:22:20 +0000
(13:22 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Fri, 21 Sep 2018 17:22:20 +0000
(13:22 -0400)
From-SVN: r264484
gcc/cp/constexpr.c
patch
|
blob
|
history
diff --git
a/gcc/cp/constexpr.c
b/gcc/cp/constexpr.c
index fdea769faa99d8b179d0953541be669a03f8b92c..b4814743784a3f1c37808e15ef468559e0b0233a 100644
(file)
--- 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. */