c++: Fix comment typo.
authorJason Merrill <jason@redhat.com>
Tue, 17 Mar 2020 09:45:02 +0000 (05:45 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 18 Mar 2020 01:22:09 +0000 (21:22 -0400)
gcc/cp/constraint.cc

index 697ed67..2176978 100644 (file)
@@ -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)