This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r249666 - in /branches/c++-modules: ChangeLog.m...


Author: nathan
Date: Mon Jun 26 19:52:37 2017
New Revision: 249666

URL: https://gcc.gnu.org/viewcvs?rev=249666&root=gcc&view=rev
Log:
	Replace lang_type::sorted_fields with lang_type::bindings.
	gcc/cp/
	* cp-tree.h (lang_type): Delete sorted_fields.  Add bindings
	field.
	(CLASSTYPE_SORTED_FIELDS): Replace with ...
	(CLASSTYPE_BINDINGS): ... this.
	* name-lookup.c (lookup_class_member): Reimplement.
	(count_fields): Delete.
	(sorted_fields_type_new): Delete.
	(add_class_member): New.
	(add_fields_to_record_type): Replace with ...
	(add_class_members): ... this.
	(add_enum_fields_to_record_type): Delete.
	(create_classtype_sorted_fields): Replace with ...
	(set_class_bindings): ... this.
	(insert_late_enum_def_into_classtype_sorted_fields): Replace with
	...
	(insert_late_enum_def_bindings): ... this.
	* name-lookup.h (create_classtype_sorted_fields)
	insert_late_enum_def_into_classtype_sorted_fields): Replace with
	...
	(set_class_bindings, insert_late_enum_def_bindings): ... this.
	* ptree.h (cxx_print_type): Don't print SORTED_FIELDS.
	* search.c (lookup_field_1): Check CLASSTYPE_BINDINGS.
	* decl.c (finish_enum_value_list): Use
	insert_late_enum_def_bindings.
	* class.c (finish_struct_1): Use set_class_bindings.
	* module.c (cpms_in::define_class): Likewise.
(--This line, and those below, will be ignored--

M    ChangeLog.modules
M    gcc/c-family/c-common.h
M    gcc/c-family/c-common.c
M    gcc/c/c-decl.c
M    gcc/c/c-lang.h
M    gcc/cp/ptree.c
M    gcc/cp/cp-tree.h
M    gcc/cp/name-lookup.c
M    gcc/cp/name-lookup.h
M    gcc/cp/module.c
M    gcc/cp/decl.c
M    gcc/cp/class.c
M    gcc/cp/search.c

Modified:
    branches/c++-modules/ChangeLog.modules
    branches/c++-modules/gcc/c-family/c-common.c
    branches/c++-modules/gcc/c-family/c-common.h
    branches/c++-modules/gcc/c/c-decl.c
    branches/c++-modules/gcc/c/c-lang.h
    branches/c++-modules/gcc/cp/class.c
    branches/c++-modules/gcc/cp/cp-tree.h
    branches/c++-modules/gcc/cp/decl.c
    branches/c++-modules/gcc/cp/module.c
    branches/c++-modules/gcc/cp/name-lookup.c
    branches/c++-modules/gcc/cp/name-lookup.h
    branches/c++-modules/gcc/cp/ptree.c
    branches/c++-modules/gcc/cp/search.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]