• jason's avatar
    * call.c (add_function_candidate): Treat conversion functions · ff0e1638
    jason authored
    	as coming from the argument's class.
    	* cp-tree.h (DECL_CONV_FN_P): New fn.
    	(DECL_DESTRUCTOR_P): Also check DECL_LANGUAGE.
    	* class.c (add_method): Use DECL_CONV_FN_P.
    	* decl2.c (check_classfn): Likewise.
    	* error.c (dump_function_name): Likewise.
    	(dump_function_decl): Likewise.
    	* pt.c (fn_type_unification): Likewise.
    	* search.c (add_conversions): Likewise.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23387 138bc75d-0d04-0410-961f-82ee72b054a4
    ff0e1638
pt.c 250 KB