summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp84
1 files changed, 0 insertions, 84 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
index bf7f3a5bc36..43bb2a120b3 100644
--- a/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_argument/vardecl_ss.cpp
@@ -81,12 +81,6 @@ int be_visitor_args_vardecl_ss::visit_array (be_array *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -128,12 +122,6 @@ int be_visitor_args_vardecl_ss::visit_enum (be_enum *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -186,12 +174,6 @@ int be_visitor_args_vardecl_ss::visit_interface (be_interface *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -239,16 +221,6 @@ int be_visitor_args_vardecl_ss::visit_interface_fwd (be_interface_fwd *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
- switch (this->direction ())
- {
- case AST_Argument::dir_IN:
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -311,13 +283,6 @@ int be_visitor_args_vardecl_ss::visit_predefined_type (be_predefined_type *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
-
// check if the type is an any
if (node->pt () == AST_PredefinedType::PT_any)
{
@@ -402,12 +367,6 @@ int be_visitor_args_vardecl_ss::visit_sequence (be_sequence *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -437,12 +396,6 @@ int be_visitor_args_vardecl_ss::visit_string (be_string *)
TAO_OutStream *os = this->ctx_->stream (); // get output stream
be_argument *arg = this->ctx_->be_node_as_argument (); // get the argument
// node
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -486,12 +439,6 @@ int be_visitor_args_vardecl_ss::visit_structure (be_structure *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -534,12 +481,6 @@ int be_visitor_args_vardecl_ss::visit_union (be_union *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -615,12 +556,6 @@ int be_compiled_visitor_args_vardecl_ss::visit_interface (be_interface *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -649,13 +584,6 @@ int be_compiled_visitor_args_vardecl_ss::visit_interface_fwd (be_interface_fwd *
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -687,12 +615,6 @@ int be_compiled_visitor_args_vardecl_ss::visit_valuetype (be_valuetype *node)
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN:
@@ -722,12 +644,6 @@ be_compiled_visitor_args_vardecl_ss::visit_valuetype_fwd (be_valuetype_fwd *node
else
bt = node;
- // If we use it in conjunction with AMI Reply Handlers we do
- // not want to generate declarations for IN arguments
- if (this->direction () == AST_Argument::dir_IN
- && this->ctx_->state() == TAO_CodeGen::TAO_AMI_HANDLER_ARGUMENT_VARDECL_CS)
- return 0;
-
switch (this->direction ())
{
case AST_Argument::dir_IN: