decl.c (wrapup_globals_for_namespace): Use DECL_SOURCE_LOCATION and "%qF" in warning_...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 15 Jun 2016 20:13:39 +0000 (20:13 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 15 Jun 2016 20:13:39 +0000 (20:13 +0000)
commitc5f914a3c76702ed085f8bb753e594af8903699a
treee8a605fde60cc07f3228892dea54e391946e7703
parentd7e16fc536d3e954adceb395e20c76258186330b
decl.c (wrapup_globals_for_namespace): Use DECL_SOURCE_LOCATION and "%qF" in warning_at instead of "%q+F" in warning.

2016-06-15  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (wrapup_globals_for_namespace): Use DECL_SOURCE_LOCATION and
"%qF" in warning_at instead of "%q+F" in warning.
(check_redeclaration_exception_specification): Likewise in pedwarn
(and error, inform, for consistency).
* call.c (joust): Likewise.

From-SVN: r237496
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c