projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f29f5
)
c++: Fix comment typo.
author
Jason Merrill
<jason@redhat.com>
Tue, 17 Mar 2020 09:45:02 +0000
(
05:45
-0400)
committer
Jason Merrill
<jason@redhat.com>
Wed, 18 Mar 2020 01:22:09 +0000
(21:22 -0400)
gcc/cp/constraint.cc
patch
|
blob
|
history
diff --git
a/gcc/cp/constraint.cc
b/gcc/cp/constraint.cc
index 697ed6726b806c4cd0498eabfbaec24f57abf3cc..21769782bf0b901d653c1628c9638c2150555bec 100644
(file)
--- a/
gcc/cp/constraint.cc
+++ b/
gcc/cp/constraint.cc
@@
-2536,7
+2536,7
@@
satisfy_atom (tree t, tree args, subst_info info)
location_t loc = cp_expr_loc_or_input_loc (expr);
- /* [17.4.1.2] ... lvalue-to-value conversion is performed as necessary,
+ /* [17.4.1.2] ... lvalue-to-
r
value conversion is performed as necessary,
and EXPR shall be a constant expression of type bool. */
result = force_rvalue (result, info.complain);
if (result == error_mark_node)