Commit 6cd5024c by Marek Polacek

c++: Use %qs in diagnostic message [PR93882]

A tweak for translators, as requested in the PR.

2020-02-22  Marek Polacek  <polacek@redhat.com>

	PR c++/93882
	* decl.c (grokdeclarator): Use %qs in a diagnostic message.
parent d6f420d9
2020-02-22 Marek Polacek <polacek@redhat.com>
PR c++/93882
* decl.c (grokdeclarator): Use %qs in a diagnostic message.
2020-02-21 Martin Sebor <msebor@redhat.com> 2020-02-21 Martin Sebor <msebor@redhat.com>
PR gcov-profile/93753 PR gcov-profile/93753
......
...@@ -11251,7 +11251,7 @@ grokdeclarator (const cp_declarator *declarator, ...@@ -11251,7 +11251,7 @@ grokdeclarator (const cp_declarator *declarator,
if (constinit_p && typedef_p) if (constinit_p && typedef_p)
{ {
error_at (declspecs->locations[ds_constinit], error_at (declspecs->locations[ds_constinit],
"%<constinit%> cannot appear in a typedef declaration"); "%qs cannot appear in a typedef declaration", "constinit");
return error_mark_node; return error_mark_node;
} }
......
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