aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-08-28 16:25:44 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-08-28 16:25:44 +0000
commitd876eb057408fa7904dfc28ae9bc199c69b10858 (patch)
tree8434d17b7cde58c9b4cbe8ade9ed88eec87a9b91 /gcc/fortran/expr.c
parent41970ff1bc05e8f27b0e58d42782939a18769af1 (diff)
downloadgcc-d876eb057408fa7904dfc28ae9bc199c69b10858.zip
gcc-d876eb057408fa7904dfc28ae9bc199c69b10858.tar.gz
gcc-d876eb057408fa7904dfc28ae9bc199c69b10858.tar.bz2
cp-tree.h (lang_type): Replace sorted_fields vector with bindings map.
* cp-tree.h (lang_type): Replace sorted_fields vector with bindings map. (CLASSTYPE_SORTED_FIELDS): Delete. (CLASSTYPE_BINDINGS): New. * decl.c (finish_enum_value_list): Swap args of insert_late_enum_def_bindings. * name-lookup.c (lookup_field_1): Replace binary search of sorted fields with map->get. (sorted_fields_type_new, count_fields, add_fields_to_record_type, add_enum_fields_to_record_type): Delete. (add_class_member, add_class_members): New. (set_class_bindings): Create map and insert. (insert_late_enum_def_binding): Swap parms. Use add_clasS_member. * ptree.c (cxx_print_type): Delete sorted fields printing. From-SVN: r251388
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions