]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-ada-spec.h (decl_sloc): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 20 Dec 2019 17:41:06 +0000 (17:41 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 20 Dec 2019 17:41:06 +0000 (17:41 +0000)
commit39292e25076e1048b2aaa89ac60c28f3f61a78a0
tree14d790f6ae6c3e85fd4ba2d1f7763bd61a026494
parent02e8542795c4321a76783b8f419435696bfed9f1
c-ada-spec.h (decl_sloc): Delete.

c-family/
* c-ada-spec.h (decl_sloc): Delete.
* c-ada-spec.c (decl_sloc): Make static.
c/
* c-decl.c (collect_source_ref_cb): Delete.
(for_each_global_decl): Rename into...
(collect_source_refs): ...this.  Call collect_source_ref directly.
(c_parse_final_cleanups): Always call collect_source_ref on the main
input filename.
cp/
* decl2.c (c_parse_final_cleanups): Always call collect_source_ref on
the main input filename.

From-SVN: r279670
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/c-family/c-ada-spec.h
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl2.c