diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2015-07-30 10:24:46 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2015-07-30 10:24:46 +0000 |
commit | 15827d124af737d95f4b728d5980f65c5d9bc9b9 (patch) | |
tree | f6bce95b430b3c3454749147a48f35dde58b4664 /gcc/builtins.c | |
parent | 2e3f48dc43aae10019e0e56ac0e7323d1e14531a (diff) | |
download | gcc-15827d124af737d95f4b728d5980f65c5d9bc9b9.zip gcc-15827d124af737d95f4b728d5980f65c5d9bc9b9.tar.gz gcc-15827d124af737d95f4b728d5980f65c5d9bc9b9.tar.bz2 |
class.c (check_for_override): Use DECL_SOURCE_LOCATION and "%qD" in warning_at instead of "%q+D" in warning.
2015-07-30 Paolo Carlini <paolo.carlini@oracle.com>
* class.c (check_for_override): Use DECL_SOURCE_LOCATION and "%qD"
in warning_at instead of "%q+D" in warning.
(warn_hidden): Likewise but use location_of.
(finish_struct_anon_r): Likewise use DECL_SOURCE_LOCATION in permerror.
(check_bitfield_decl, check_field_decls): Likewise in warning_at.
(check_field_decls): Likewise for permerror.
(explain_non_literal_class): Likewise for inform.
(check_bases_and_members, layout_class_type): Likewise for warning_at.
(note_name_declared_in_class): Use location_of in permerror.
* name-lookup.c (diagnose_name_conflict): Use location_of in inform.
(pushdecl_maybe_friend_1): Use DECL_SOURCE_LOCATION in pedwarn,
inform, and warning_at.
(check_for_out_of_scope_variable): Likewise for warning_at and
permerror.
From-SVN: r226394
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions