search.c
110 KB
-
cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro. · 8857f91e
* cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro. (revert_static_member_fn): Declare. * decl.c (revert_static_member_fn): Remove declaration. Change linkage from internal to external. (cp_finish_decl): Deal with virtual functions in classes local to template functions. * decl2.c (finish_file): Don't forget to emit increment/decrement expressions in initializers for file-scope variables. * parse.y (typename_sub2): If the typename doesn't names a template, rather than a type, issue an error message. * pt.c (check_explicit_specialization): Handle specializations of static member functions. (coerce_template_parms): Handle offset references to lists of member functions. * search.c (note_debug_info_needed): Don't crash when handed a type which is being defined. * typeck.c (complete_type): Don't crash when handed NULL_TREE; that can happen with some illegal code. From-SVN: r17598
Mark Mitchell committed