diff options
author | Jason Merrill <jason@redhat.com> | 2020-03-17 05:45:02 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-03-17 21:22:09 -0400 |
commit | 80616e5b7a5caf6f41210c9451a32de2fd64528e (patch) | |
tree | cf8fc9fd9d170d521050c0a13b94033937adc859 | |
parent | 98f29f5638f73d8e55590eba8098a537ba746287 (diff) | |
download | gcc-80616e5b7a5caf6f41210c9451a32de2fd64528e.zip gcc-80616e5b7a5caf6f41210c9451a32de2fd64528e.tar.gz gcc-80616e5b7a5caf6f41210c9451a32de2fd64528e.tar.bz2 |
c++: Fix comment typo.
-rw-r--r-- | gcc/cp/constraint.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc index 697ed67..2176978 100644 --- 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-rvalue 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) |