]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/name-lookup.h
cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields): Delete.
authorNathan Sidwell <nathan@acm.org>
Mon, 28 Aug 2017 14:51:45 +0000 (14:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 28 Aug 2017 14:51:45 +0000 (14:51 +0000)
commit41970ff1bc05e8f27b0e58d42782939a18769af1
tree86d76159dc7ea7da90404d0613d08e9d2bcfc6c0
parente54c2581c540202cc0d777c4de6185d95e663233
cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields): Delete.

* cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields):
Delete.
* name-lookup.h (set_class_bindings,
insert_late_enum_def_bindings): Declare.
* decl.c (finish_enum_value_list): Adjust for
insert_late_enum_def_bindings name change.
* class.c (finish_struct_1): Call set_class_bindings.
(count_fields, add_fields_to_record_type,
add_enum_fields_to_record_type, sorted_fields_type_new,
insert_into_classtype_sorted_fields,
insert_late_enum_def_into_classtype_sorted_fields): Move to ...
* name-lookup.h (count_fields, add_fields_to_record_type,
add_enum_fields_to_record_type, sorted_fields_type_new,
set_class_bindings, insert_late_enum_def_bindings): ... here.

From-SVN: r251387
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h