public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/perf)] Remove triling space for a warning.
@ 2020-03-19 5:44 Jiu Fu Guo
0 siblings, 0 replies; only message in thread
From: Jiu Fu Guo @ 2020-03-19 5:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6c39d0b79db7f9bf58a64bf987c161ae0b9dcec4
commit 6c39d0b79db7f9bf58a64bf987c161ae0b9dcec4
Author: Martin Liska <mliska@suse.cz>
Date: Thu Feb 20 12:01:44 2020 +0100
Remove triling space for a warning.
PR translation/93838
* parser.c (cp_parser_decl_specifier_seq): Remove trailing space.
Diff:
---
gcc/cp/ChangeLog | 5 +++++
gcc/cp/parser.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e1ac5b0f29e..173d0a1c514 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-20 Martin Liska <mliska@suse.cz>
+
+ PR translation/93838
+ * parser.c (cp_parser_decl_specifier_seq): Remove trailing space.
+
2020-02-19 Marek Polacek <polacek@redhat.com>
PR c++/93169 - wrong-code with a non-constexpr constructor.
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index e8a536ae22f..46841344831 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -14164,7 +14164,7 @@ cp_parser_decl_specifier_seq (cp_parser* parser,
"allowed in a C++20 concept definition");
else
pedwarn (token->location, 0, "C++20 concept definition syntax "
- "is %<concept <name> = <expr>%> ");
+ "is %<concept <name> = <expr>%>");
}
/* In C++20 a concept definition is just 'concept name = expr;'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-19 5:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 5:44 [gcc(refs/vendors/ibm/heads/perf)] Remove triling space for a warning Jiu Fu Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).