-
- Downloads
cp-tree.h (struct lang_type_class): Make pure_virtuals a VEC(tree).
* cp-tree.h (struct lang_type_class): Make pure_virtuals a VEC(tree). (CLASSTYPE_INLINE_FRIENDS, CLASSTYPE_PURE_VIRTUALS): Update comments. * call.c (build_new_method_call): Don't confirm a pure virtual is in CLASSTYPE_PURE_VIRTUALS. Reorder checks. Make it a warning. * class.c (check_methods): CLASSTYPE_INLINE_FRIENDS is a VEC(tree). (fixup_inline_methods, finish_struct): Likewise. * decl.c (finish_method): Likewise. * search.c (dfs_get_pure_virtuals, get_pure_virtuals): CLASSTYPE_PURE_VIRTUALS is a VEC(tree). * typeck2.c (abstract_virtuals_error): Likewise. Truncate the vector to avoid repeating the list in error messages. From-SVN: r87592
Showing
- gcc/ChangeLog 0 additions, 1 deletiongcc/ChangeLog
- gcc/cp/call.c 10 additions, 8 deletionsgcc/cp/call.c
- gcc/cp/class.c 9 additions, 10 deletionsgcc/cp/class.c
- gcc/cp/cp-tree.h 8 additions, 5 deletionsgcc/cp/cp-tree.h
- gcc/cp/decl.c 2 additions, 2 deletionsgcc/cp/decl.c
- gcc/cp/search.c 3 additions, 7 deletionsgcc/cp/search.c
- gcc/cp/typeck2.c 16 additions, 12 deletionsgcc/cp/typeck2.c
Loading
Please register or sign in to comment