vec.h: Propagate location information properly.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 19 Jul 2004 15:45:53 +0000 (15:45 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 19 Jul 2004 15:45:53 +0000 (15:45 +0000)
commit9ba5ff0f25985468d845360aee1d11cb3a0f09c8
tree46c29242b882c33b8a12977fcf57e4b3cd23ce78
parent6df91b0004725e310b8dc7fa463745a703c1c059
vec.h: Propagate location information properly.

.: * vec.h: Propagate location information properly.
(VEC_T_iterate): Add result pointer parameter.
(VEC_T_space): New.
(VEC_T_reserve): Use it.
cp:
* class.c (add_method): Delay adding the slot until the end.
(determine_primary_base): Adjust VEC_iterate invokation.
(resort_type_method_vec, finish_struct_methods, warn_hidden,
walk_subobject_offsets, end_of_class, warn_about_ambiguous_bases,
build_vtbl_initializer): Likewise.
* init.c (sort_mem_initializers, build_delete, push_base_cleanups,
build_vbase_delete): Likewise.
* method.c (do_build_copy_constructor): Likewise.
* name-lookup.c (new_class_binding, print_binding_level,
poplevel_class, store_class_bindings, push_to_top_level,
pop_from_top_level): Likewise.
* pt.c (check_explicit_specialization): Likewise.
* search.c (lookup_conversion_operator, lookup_fnfields_1,
get_pure_virtuals, add_conversions, dfs_check_overlap,
binfo_for_vbase): Likewise.

From-SVN: r84924
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/init.c
gcc/cp/method.c
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/vec.h