diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2003-12-08 15:29:15 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-12-08 15:29:15 -0500 |
commit | ed36980c2256c731fd348fbe13c61a52bd7c32a2 (patch) | |
tree | f26daf46f4eda155a0360bde32fbd2e8f0259682 /gcc/cp/dump.c | |
parent | 4e8537aea1415315c858401000dec14a03f00280 (diff) | |
download | gcc-ed36980c2256c731fd348fbe13c61a52bd7c32a2.zip gcc-ed36980c2256c731fd348fbe13c61a52bd7c32a2.tar.gz gcc-ed36980c2256c731fd348fbe13c61a52bd7c32a2.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r-- | gcc/cp/dump.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index b48f25b..17b30c9 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -230,11 +230,6 @@ cp_dump_tree (void* dump_info, tree t) dump_child ("tynm", TREE_TYPE (t)); return true; } - else if (t == anonymous_namespace_name) - { - dump_string (di, "unnamed"); - return true; - } break; case OFFSET_TYPE: |