[gcc(refs/users/guojiufu/heads/guojiufu-branch)] Remove triling space for a warning.
Jiu Fu Guo
guojiufu@gcc.gnu.org
Wed Mar 11 02:09:28 GMT 2020
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;'
More information about the Gcc-cvs
mailing list