warn02.C
726 Bytes
-
class.c (add_method): Fix documentation to reflect previous changes. · 6b4b3deb
* class.c (add_method): Fix documentation to reflect previous changes. Check for duplicate method declarations here. * decl.c (decls_match): Handle FUNCTION_DECL vs TEMPLATE_DECL correctly; such things never match. (grokfndecl): Don't look for duplicate methods here. * decl2.c (check_classfn): Don't assume names are mangled. Don't add bogus member function declarations to a class before the class type is complete. (grokfield): Reformat error message. * method.c (set_mangled_name_for_decl): Don't mangle names while procesing_template_decl. From-SVN: r23132
Mark Mitchell committed