[C++ PATCH] Move field_vec creation

Nathan Sidwell nathan@acm.org
Mon Aug 28 15:59:00 GMT 2017


this patch moves the FIELD_VEC creation routines from class.c to 
name-lookup.c

It's slightly more than a simple move as I include the following renaming:
insert_into_classtype_sorted_fields -> set_class_bindings
insert_late_enum_def_into_classtype_sorted_fields -> 
insert_late_enum_def_bindings

Most of this should eventually evaporate, as I intend adding the 
bindings progressively during class definition. (and late bindings 
during their definition).  But we'll see how far that gets ...

nathan
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: field_vec.diff
Type: text/x-patch
Size: 11512 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170828/26a18f61/attachment.bin>


More information about the Gcc-patches mailing list