diff options
author | Martin v. Löwis <loewis@informatik.hu-berlin.de> | 1998-05-07 22:06:26 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-05-07 22:06:26 -0400 |
commit | 2c73f9f57ac31b4c79c8e9282c748e3294cd7e95 (patch) | |
tree | b63320f941aa58f44dbdc20a5d48fb3384cb73c1 /gcc/cp/cp-tree.def | |
parent | 0d33d22e9ff0d6cba03b7ef6f099f215b260c7e1 (diff) | |
download | gcc-2c73f9f57ac31b4c79c8e9282c748e3294cd7e95.zip gcc-2c73f9f57ac31b4c79c8e9282c748e3294cd7e95.tar.gz gcc-2c73f9f57ac31b4c79c8e9282c748e3294cd7e95.tar.bz2 |
massive namespace patch
From-SVN: r19631
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r-- | gcc/cp/cp-tree.def | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index 2f7f938..2124a04 100644 --- a/gcc/cp/cp-tree.def +++ b/gcc/cp/cp-tree.def @@ -166,10 +166,15 @@ DEFTREECODE (DEFAULT_ARG, "default_arg", 'c', 2) the template will be an IDENTIFIER_NODE. */ DEFTREECODE (TEMPLATE_ID_EXPR, "template_id_expr", 'e', 2) -/* has two fields: scope and value */ -/* XXX: could recycle some of the common fields */ +/* An association between namespace and entity. Parameters are the + scope and the (non-type) value. + TREE_TYPE indicates the type bound to the name. */ DEFTREECODE (CPLUS_BINDING, "binding", 'x', 2) +/* A list-like node for chaining overloading candidates. TREE_TYPE is + the original name, and the parameter is the FUNCTION_DECL. */ +DEFTREECODE (OVERLOAD, "overload", 'x', 1) + /* A generic wrapper for something not tree that we want to include in tree structure. */ DEFTREECODE (WRAPPER, "wrapper", 'x', 1) |