aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2000-08-11 14:09:15 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2000-08-11 14:09:15 +0000
commit5c1e54768f49f673a1592ff7fdf3c6a5ecc1ddb7 (patch)
tree8a00be42a904b7a6049c77ec6a6c634382d4ee1d /gcc
parent5426aa7fafc067ebf2561df10ac5293723c41043 (diff)
downloadgcc-5c1e54768f49f673a1592ff7fdf3c6a5ecc1ddb7.zip
gcc-5c1e54768f49f673a1592ff7fdf3c6a5ecc1ddb7.tar.gz
gcc-5c1e54768f49f673a1592ff7fdf3c6a5ecc1ddb7.tar.bz2
cp-tree.h (resolve_scope_to_name): Remove unused prototype.
* cp-tree.h (resolve_scope_to_name): Remove unused prototype. (lookup_nested_tag): Likewise. * decl2.c (grokfield): Fix comment to reflect many types of _DECLs can be produced. From-SVN: r35634
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog8
-rw-r--r--gcc/cp/cp-tree.h2
-rw-r--r--gcc/cp/decl2.c6
3 files changed, 10 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 578f726..2ce3f44 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,13 @@
2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
+ * cp-tree.h (resolve_scope_to_name): Remove unused prototype.
+ (lookup_nested_tag): Likewise.
+
+ * decl2.c (grokfield): Fix comment to reflect many types of _DECLs
+ can be produced.
+
+2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
+
* parse.y (named_complex_class_head_sans_basetype): Remove
always true if.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index ce58e70..e4b4feb 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -3777,7 +3777,6 @@ extern int check_dtor_name PARAMS ((tree, tree));
extern int get_arglist_len_in_bytes PARAMS ((tree));
extern tree build_vfield_ref PARAMS ((tree, tree));
-extern tree resolve_scope_to_name PARAMS ((tree, tree));
extern tree build_scoped_method_call PARAMS ((tree, tree, tree, tree));
extern tree build_addr_func PARAMS ((tree));
extern tree build_call PARAMS ((tree, tree));
@@ -4313,7 +4312,6 @@ extern tree lookup_field PARAMS ((tree, tree, int, int));
extern int lookup_fnfields_1 PARAMS ((tree, tree));
extern tree lookup_fnfields PARAMS ((tree, tree, int));
extern tree lookup_member PARAMS ((tree, tree, int, int));
-extern tree lookup_nested_tag PARAMS ((tree, tree));
extern tree get_matching_virtual PARAMS ((tree, tree, int));
extern void get_pure_virtuals PARAMS ((tree));
extern tree init_vbase_pointers PARAMS ((tree, tree));
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index c968bcb..7422be1 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -1615,16 +1615,14 @@ finish_static_data_member_decl (decl, init, asmspec_tree, flags)
}
/* Process the specs, declarator (NULL if omitted) and width (NULL if omitted)
- of a structure component, returning a FIELD_DECL node.
+ of a structure component, returning a _DECL node.
QUALS is a list of type qualifiers for this decl (such as for declaring
const member functions).
This is done during the parsing of the struct declaration.
- The FIELD_DECL nodes are chained together and the lot of them
+ The _DECL nodes are chained together and the lot of them
are ultimately passed to `build_struct' to make the RECORD_TYPE node.
- C++:
-
If class A defines that certain functions in class B are friends, then
the way I have set things up, it is B who is interested in permission
granted by A. However, it is in A's context that these declarations