Rename CLASSTYPE_METHOD_VEC to CLASSTYPE_MEMBER_VEC.
authorNathan Sidwell <nathan@acm.org>
Wed, 13 Sep 2017 11:45:56 +0000 (11:45 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 13 Sep 2017 11:45:56 +0000 (11:45 +0000)
commit783dc7392a04bde7bbf6806d55484f3ab37b62db
treea07513d82a503f550f7d9339094e7fe31d8d15d9
parent491cefb7ea5dc035b2ee5b706aa21efcd49d76c3
Rename CLASSTYPE_METHOD_VEC to CLASSTYPE_MEMBER_VEC.

* cp-tree.h (struct lang_type): Rename methods to members.
(CLASSTYPE_METHOD_VEC): Rename to ...
(CLASSTYPE_MEMBER_VEC): ... this.
* name-lookup.h (get_method_slot): Rename to ...
(get_member_slot): ... this.
(resort_type_method_vec): Rename to ...
(resort_type_member_vec): ... this.
* class.c (add_method, warn_hidden): Adjust.
* search.c (dfs_locate_field_accessor_pre): Adjust.
* name-lookup.c (method_vec_binary_search): Rename to ...
(member_vec_binary_search): ... this and adjust.
(method_vec_linear_search): Rename to ...
(member_vec_linear_search): ... this and adjust.
(fields_linear_search, get_class_binding_direct): Adjust.
(get_method_slot): Rename to ...
(get_member_slot): ... this and adjust.
(method_name_slot): Rename to ...
(member_name_slot): ... this and adjust.
(resort_type_method_vec): Rename to ...
(resort_type_member_vec): ... this and adjust.
(method_vec_append_class_fields): Rename to ...
(member_vec_append_class_fields): ... this and adjust.
(method_vec_append_enum_values): Rename to ...
(member_vec_append_enum_values): ... this and adjust.
(method_vec_dedup): Rename to ...
(member_vec_dedup): ... this and adjust.
(set_class_bindings, insert_late_enum_def_bindings): Adjust.

From-SVN: r252078
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/cp/search.c