+2018-03-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/84910
+ * c-warn.c (diagnose_mismatched_attributes): Remove trailing space from
+ diagnostics.
+
2018-03-16 Richard Biener <rguenther@suse.de>
PR c/84873
&& DECL_UNINLINABLE (newdecl)
&& lookup_attribute ("noinline", DECL_ATTRIBUTES (newdecl)))
warned |= warning (OPT_Wattributes, "declaration of %q+D with attribute "
- "%qs follows inline declaration ", newdecl, noinline);
+ "%qs follows inline declaration", newdecl, noinline);
return warned;
}
+2018-03-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/84910
+ * parser.c (cp_parser_lambda_introducer): Remove trailing space from
+ diagnostics.
+ * method.c (synthesize_method): Likewise.
+ * pt.c (convert_nontype_argument): Likewise.
+
2018-03-16 Jason Merrill <jason@redhat.com>
PR c++/84720 - ICE with rvalue ref non-type argument.
pop_deferring_access_checks ();
if (error_count != errorcount || warning_count != warningcount + werrorcount)
- inform (input_location, "synthesized method %qD first required here ",
+ inform (input_location, "synthesized method %qD first required here",
fndecl);
}
&& 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),
else
expr = cxx_constant_value (expr);
if (errorcount > errs || warningcount + werrorcount > warns)
- inform (loc, "in template argument for type %qT ", type);
+ inform (loc, "in template argument for type %qT", type);
if (expr == error_mark_node)
return NULL_TREE;
/* else cxx_constant_value complained but gave us