OSDN Git Service

* cp-tree.def (TINST_LEVEL): Make it an 'x' node.
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2004 23:20:08 +0000 (23:20 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2004 23:20:08 +0000 (23:20 +0000)
commit018c1ab0f8152ace247ffc951d676032f93675d6
tree60f27536fd4be89c4b8a14b5f5c8d884d5f061bd
parent1e9d55d7578c83f6b7a857c3b76fb7d00de83cbc
* cp-tree.def (TINST_LEVEL): Make it an 'x' node.
* cp-tree.h (tinst_level_t): New tree type.
(union lang_tree_node): Handle it.
(TINST_LOCATION): New accessor macro.
(make_tinst_level): New prototype.
* cp-lang.c (cp_tree_size): Handle TINST_LEVEL.
* decl.c (cp_tree_node_structure): Likewise.
* error.c (print_instantiation_full_context): Use TINST_LOCATION.
(print_instantiation_partial_context): Likewise.
* pt.c (pop_tinst_level): Likewise.
 (push_tinst_level): Use make_tinst_level.
* tree.c (make_tinst_level): New function.
(cp_walk_subtrees): Walk TINST_DECL for a TINST_LEVEL node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84977 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-lang.c
gcc/cp/cp-tree.def
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/pt.c
gcc/cp/tree.c