diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-07-12 08:21:28 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2010-07-12 08:21:28 +0000 |
commit | d2f0da8c66586cb487f7bb10b40f0ccd81237743 (patch) | |
tree | f727076bd18c8241aa3312826ac4cfea09ef368a /TAO/TAO_IDL/be/be_visitor_constant | |
parent | aa30c8711cfe2c1837eedfcd7ae1b699cbe8969a (diff) | |
download | ATCD-d2f0da8c66586cb487f7bb10b40f0ccd81237743.tar.gz |
ChangeLogTag: Mon Jul 12 08:19:49 UTC 2010 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_constant')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp b/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp index 32d7b725d99..58d6e600d15 100644 --- a/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_constant/constant_cs.cpp @@ -96,45 +96,3 @@ be_visitor_constant_cs::visit_constant (be_constant *node) node->cli_stub_gen (true); return 0; } - -// The following needs to be done until the MSVC++ compiler fixes its -// broken handling of namespaces (hopefully forthcoming in version 7). -int -be_visitor_constant_cs::gen_nested_namespace_begin (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - char *item_name = 0; - - for (UTL_IdListActiveIterator i (node->name ()); !i.is_done (); i.next ()) - { - item_name = i.item ()->get_string (); - - if (ACE_OS::strcmp (item_name, "") != 0) - { - // leave the outermost root scope. - *os << "namespace " << item_name << be_nl - << "{" << be_nl; - } - } - - return 0; -} - -// The following needs to be done until the MSVC++ compiler fixes its -// broken handling of namespaces (hopefully forthcoming in version 7). -int -be_visitor_constant_cs::gen_nested_namespace_end (be_module *node) -{ - TAO_OutStream *os = this->ctx_->stream (); - - for (UTL_IdListActiveIterator i (node->name ()); !i.is_done (); i.next ()) - { - if (ACE_OS::strcmp (i.item ()->get_string (), "") != 0) - { - // leave the outermost root scope. - *os << "}" << be_nl; - } - } - - return 0; -} |