diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-16 21:11:40 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-16 21:11:40 +0100 |
commit | 63ecb626d69524c70858af5f17f4c03b5c4707c7 (patch) | |
tree | 8409e3c764dd5587e5a851b5e9c22e18e155e851 /gcc/cp/parser.c | |
parent | 299ab1b2a13bc34d8dd205a4762e81e627b8ba1f (diff) | |
download | gcc-63ecb626d69524c70858af5f17f4c03b5c4707c7.zip gcc-63ecb626d69524c70858af5f17f4c03b5c4707c7.tar.gz gcc-63ecb626d69524c70858af5f17f4c03b5c4707c7.tar.bz2 |
re PR c/84910 (typo: "%qs follows inline declaration ")
PR c/84910
* c-warn.c (diagnose_mismatched_attributes): Remove trailing space from
diagnostics.
* parser.c (cp_parser_lambda_introducer): Remove trailing space from
diagnostics.
* method.c (synthesize_method): Likewise.
* pt.c (convert_nontype_argument): Likewise.
From-SVN: r258608
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 119f6c0..c8a0e77 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10383,7 +10383,7 @@ cp_parser_lambda_introducer (cp_parser* parser, tree lambda_expr) && TREE_CODE (capture_init_expr) != PARM_DECL) { error_at (capture_token->location, - "capture of non-variable %qE ", + "capture of non-variable %qE", capture_init_expr); if (DECL_P (capture_init_expr)) inform (DECL_SOURCE_LOCATION (capture_init_expr), |