cp-tree.h (resort_type_method_vec): Move declaration to ...
authorNathan Sidwell <nathan@acm.org>
Fri, 1 Sep 2017 19:00:42 +0000 (19:00 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Sep 2017 19:00:42 +0000 (19:00 +0000)
commitfe920c2d9f479c2b17d6963973cf11efe0169293
treec0d88f5d8f3f436d5dc59db6a43da3de0dbcc103
parent61abf964185ad736e1cd400dcd2583acfc050b4b
cp-tree.h (resort_type_method_vec): Move declaration to ...

* cp-tree.h (resort_type_method_vec): Move declaration to ...
* name-lookup.h (resort_type_method_vec): ... here.
(set_class_bindings): Lose 2nd arg.
* class.c (finish_struct_1, finish_struct): Adjust
set_class_bindings call.  Don't call finish_struct_methods.
(resort_data, method_name_cmp, resort_method_name_cmp,
resort_type_method_vec, finish_struct_methods): Move to ...
* name-lookup.c (resort_data, method_name_cmp,
resort_method_name_cmp, resort_type_method_vec): ... here.
(set_class_bindings): Lose fields arg.  Swallow finish_struct_methods.

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