From 7eafc6e80fe9ce61498a93a24c663810ceafc893 Mon Sep 17 00:00:00 2001 From: parsons Date: Thu, 16 Sep 2004 16:59:29 +0000 Subject: ChangeLogTag: Thu Sep 16 11:49:32 2004 Jeff Parsons --- TAO/TAO_IDL/be/be_visitor_traits.cpp | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'TAO/TAO_IDL/be/be_visitor_traits.cpp') diff --git a/TAO/TAO_IDL/be/be_visitor_traits.cpp b/TAO/TAO_IDL/be/be_visitor_traits.cpp index d7233422e98..159e95ef9bd 100644 --- a/TAO/TAO_IDL/be/be_visitor_traits.cpp +++ b/TAO/TAO_IDL/be/be_visitor_traits.cpp @@ -388,39 +388,6 @@ be_visitor_traits::visit_array (be_array *node) TAO_OutStream *os = this->ctx_->stream (); - // Generate the array traits specialization definitions, - // guarded by #ifdef on unaliased array element type and length. - - ACE_CString unique; - be_type *bt = be_type::narrow_from_decl (node->base_type ()); - AST_Decl::NodeType nt = bt->node_type (); - - if (nt == AST_Decl::NT_typedef) - { - be_typedef *td = be_typedef::narrow_from_decl (bt); - unique = td->primitive_base_type ()->flat_name (); - } - else - { - unique = bt->flat_name (); - } - - char buf[NAMEBUFSIZE]; - - for (unsigned long i = 0; i < node->n_dims (); ++i) - { - ACE_OS::memset (buf, - '\0', - NAMEBUFSIZE); - ACE_OS::sprintf (buf, - "_%ld", - node->dims ()[i]->ev ()->u.ulval); - unique += buf; - } - - unique += "_traits"; -// os->gen_ifdef_macro (unique.fast_rep ()); - *os << be_nl << be_nl << "ACE_TEMPLATE_SPECIALIZATION" << be_nl << "struct " << be_global->stub_export_macro () << " Array_Traits<" -- cgit v1.2.1