Commit 631ee856 by Simon Baldwin Committed by Simon Baldwin

decl.c (grokparms): Changed message format from %qD to %qE.

	* decl.c (grokparms): Changed message format from %qD to %qE.

From-SVN: r124228
parent 415e62e2
2007-04-27 Simon Baldwin <simonb@google.com>
* decl.c (grokparms): Changed message format from %qD to %qE.
2007-04-27 Douglas Gregor <doug.gregor@gmail.com>
* error.c (maybe_warn_variadic_templates): Variadic templates are
......
......@@ -8987,7 +8987,7 @@ grokparms (cp_parameter_declarator *first_parm, tree *parms)
if (DECL_NAME (decl))
{
if (pointer_set_contains (unique_decls, DECL_NAME (decl)))
error ("multiple parameters named %qD", DECL_NAME (decl));
error ("multiple parameters named %qE", DECL_NAME (decl));
else
pointer_set_insert (unique_decls, DECL_NAME (decl));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment