decl.c (duplicate_decls): Consistently use DECL_SOURCE_LOCATION in errors about redef...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 18 Jun 2018 14:34:50 +0000 (14:34 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 18 Jun 2018 14:34:50 +0000 (14:34 +0000)
commit9a977ce3605e8b8ad92fd351bb90bc6445e8e92b
treecc83dbf50b444b91d8c261d214e914ad6152c3ef
parent5f9bda14580c475eabae3b82f96041932e2e6402
decl.c (duplicate_decls): Consistently use DECL_SOURCE_LOCATION in errors about redefined default...

2018-06-18  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (duplicate_decls): Consistently use DECL_SOURCE_LOCATION
in errors about redefined default arguments; tidy.

From-SVN: r261702
gcc/cp/ChangeLog
gcc/cp/decl.c