Give the anonymous namespace a null DECL_NAME.
authorJason Merrill <jason@gcc.gnu.org>
Mon, 8 Dec 2003 20:29:15 +0000 (15:29 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 8 Dec 2003 20:29:15 +0000 (15:29 -0500)
commited36980c2256c731fd348fbe13c61a52bd7c32a2
treef26daf46f4eda155a0360bde32fbd2e8f0259682
parent4e8537aea1415315c858401000dec14a03f00280
Give the anonymous namespace a null DECL_NAME.

        * cp-tree.h: Don't declare anonymous_namespace_name.
        * decl.c: Don't define it.
        * dump.c (cp_dump_tree): Don't check for it.
        * cxx-pretty-print.c (pp_cxx_original_namespace_definition): Likewise.
        * error.c (dump_decl): Likewise.
        * name-lookup.c: Define it here.
        (push_namespace): Put it in DECL_ASSEMBLER_NAME instead.
        * mangle.c (write_unqualified_name): Adjust.

From-SVN: r74433
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cxx-pretty-print.c
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/error.c
gcc/cp/mangle.c
gcc/cp/name-lookup.c