]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
authorRichard Henderson <rth@redhat.com>
Sun, 21 Sep 2003 23:39:40 +0000 (16:39 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 21 Sep 2003 23:39:40 +0000 (16:39 -0700)
commit7e2af53a14ce4710e1dca754acf603db0f9d8802
treed04ef32430711aab636f45451f9e7a3ad34ab36f
parentd6a1d39a7dbf00f373ace14470d5edb5cc4337be
tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.

* tree.h (TREE_LOCUS): Rename from DECL_SOURCE_LOCATION; make const.
(TREE_FILENAME, TREE_LINENO): Likewise.
(set_tree_locus, copy_tree_locus, set_tree_file_line): New.
(TREE_LOCUS_SET_P): New.
* c-aux-info.c, c-decl.c, c-parse.in, coverage.c, dbxout.c,
diagnostic.c, dwarf2out.c, dwarfout.c, function.c, integrate.c,
print-tree.c, stmt.c, toplev.c, tree-dump.c, tree-inline.c,
tree-optimize.c, tree.c, tree.def, xcoffout.c, config/alpha/alpha.c,
config/mips/mips.c, doc/c-tree.texi, objc/objc-act.c: Update to match.

ada/
* trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

cp/
* class.c, cp-tree.h, decl.c, decl2.c, error.c, init.c,
method.c, optimize.c, pt.c, semantics.c, tree.c: Update for
DECL_SOURCE_LOCATION rename and change to const.

f/
* com.c, ste.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

java/
* class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
resource.c: Update for DECL_SOURCE_LOCATION rename and change to const.

treelang/
* treetree.c: Update for DECL_SOURCE_LOCATION rename and
change to const.

From-SVN: r71636
52 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/ada/utils.c
gcc/c-aux-info.c
gcc/c-decl.c
gcc/c-parse.in
gcc/config/alpha/alpha.c
gcc/config/mips/mips.c
gcc/coverage.c
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/method.c
gcc/cp/optimize.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/dbxout.c
gcc/diagnostic.c
gcc/doc/c-tree.texi
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/f/ste.c
gcc/function.c
gcc/integrate.c
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/decl.c
gcc/java/jcf-parse.c
gcc/java/jcf-write.c
gcc/java/parse.y
gcc/java/resource.c
gcc/objc/objc-act.c
gcc/print-tree.c
gcc/stmt.c
gcc/toplev.c
gcc/tree-dump.c
gcc/tree-inline.c
gcc/tree-optimize.c
gcc/tree.c
gcc/tree.def
gcc/tree.h
gcc/treelang/ChangeLog
gcc/treelang/treetree.c
gcc/xcoffout.c