summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_scope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_scope.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_scope.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_scope.cpp b/TAO/TAO_IDL/be/be_visitor_scope.cpp
index cc02e98b71f..c9dc965c01b 100644
--- a/TAO/TAO_IDL/be/be_visitor_scope.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_scope.cpp
@@ -243,29 +243,3 @@ be_visitor_scope::last_node (be_decl *bd)
// I am the last one
return 1;
}
-
-idl_bool
-be_visitor_scope::last_inout_or_out_node (be_decl *)
-{
- // Return true if we are the last inout or out argument
- be_decl *next = 0;
- this->next_elem (this->ctx_->node (),
- next);
- while (next)
- {
- be_argument *arg = be_argument::narrow_from_decl (next);
-
- if (arg->direction () == AST_Argument::dir_INOUT
- || arg->direction () == AST_Argument::dir_OUT)
- // not the last
- return 0;
-
- be_decl *next_next = 0;
- this->next_elem (next, next_next);
-
- next = next_next;
- }
- // I am the last one
- return 1;
-}
-