Remove triling space for a warning.
authorMartin Liska <mliska@suse.cz>
Thu, 20 Feb 2020 11:01:44 +0000 (12:01 +0100)
committerMartin Liska <mliska@suse.cz>
Thu, 20 Feb 2020 11:01:44 +0000 (12:01 +0100)
PR translation/93838
* parser.c (cp_parser_decl_specifier_seq): Remove trailing space.

gcc/cp/ChangeLog
gcc/cp/parser.c

index e1ac5b0f29e2e36ba12295804984ef44f823a401..173d0a1c51445feeaf8506c939e87a3c6a37f9ca 100644 (file)
@@ -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.
index e8a536ae22f57b7ee2bb2164117a59b68064f302..46841344831ffc808dbd752d0105b578c6a0e75f 100644 (file)
@@ -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;'