diff mbox

[C++] fix constrait diag

Message ID 3295fbe7-5c2e-a518-83f5-475bcb70d31c@acm.org
State New
Headers show

Commit Message

Nathan Sidwell May 4, 2017, 6:39 p.m. UTC
Changing '%qE %S' to '%<E %S%>' is missing a % and ICES constraints/req4.

Fixed thusly.
diff mbox

Patch

2017-05-04  Nathan Sidwell  <nathan@acm.org>

	* constraint.cc (diagnose_check_constraint): Fix %E thinko.

Index: constraint.cc
===================================================================
--- constraint.cc	(revision 247613)
+++ constraint.cc	(working copy)
@@ -2859,7 +2859,7 @@  diagnose_check_constraint (location_t lo
     {
       if (elide_constraint_failure_p ())
         return;
-      inform (loc, "in the expansion of concept %<E %S%>", check, sub);
+      inform (loc, "in the expansion of concept %<%E %S%>", check, sub);
       cur = get_concept_definition (decl);
       tsubst_expr (cur, targs, tf_warning_or_error, NULL_TREE, false);
       return;