diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-08 20:29:15 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-08 20:29:15 +0000 |
commit | c2e831643d8dc86d51a13566f930b73b680a7931 (patch) | |
tree | f26daf46f4eda155a0360bde32fbd2e8f0259682 /gcc/cp/dump.c | |
parent | ea2e2c1ad3a2de50e05cd2ec2c5ff19a1ee2527a (diff) | |
download | gcc-c2e831643d8dc86d51a13566f930b73b680a7931.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74433 138bc75d-0d04-0410-961f-82ee72b054a4
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 b48f25b7752..17b30c94367 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: |