]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/name-lookup.c
re PR c++/12735 (duplicate error messages for redeclaration errors)
authorMark Mitchell <mark@codesourcery.com>
Wed, 12 Nov 2003 18:15:02 +0000 (18:15 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 12 Nov 2003 18:15:02 +0000 (18:15 +0000)
commitb1a19c7ceab2890e5f54896ed643c0ff86f74d2f
tree0f04f75058aff68b14b918b990eec3296d9afca8
parent3197c4fd19020428a20e2e78b397588f5a0c8fcf
re PR c++/12735 (duplicate error messages for redeclaration errors)

PR c++/12735
* cp-tree.h (duplicate_decls): Return a tree.
* decl.c (duplicate_decls): Clarify documentation.  Return
error_mark_node to indicate a failed redeclaration.
* friend.c (do_friend): Handle that case.
* name-lookup.c (pushdecl): Likewise.

From-SVN: r73503
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/friend.c
gcc/cp/name-lookup.c