summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_component.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_component.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_component.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/TAO/TAO_IDL/ast/ast_component.cpp b/TAO/TAO_IDL/ast/ast_component.cpp
index b83509eff93..3e57283f4fc 100644
--- a/TAO/TAO_IDL/ast/ast_component.cpp
+++ b/TAO/TAO_IDL/ast/ast_component.cpp
@@ -73,58 +73,6 @@ AST_Component::redefine (AST_Interface *from)
this->pd_consumes = c->pd_consumes;
}
-AST_Decl *
-AST_Component::look_in_inherited (UTL_ScopedName *e,
- idl_bool treat_as_ref)
-{
- AST_Decl *d = 0;
-
- if (this->pd_base_component != 0)
- {
- d = this->pd_base_component->lookup_by_name (e, treat_as_ref);
- }
-
- return d;
-}
-
-// Look through supported interface list.
-AST_Decl *
-AST_Component::look_in_supported (UTL_ScopedName *e,
- idl_bool treat_as_ref)
-{
- AST_Decl *d = 0;
- AST_Interface **is = 0;
- long nis = -1;
-
- // Can't look in an interface which was not yet defined.
- if (!this->is_defined ())
- {
- idl_global->err ()->fwd_decl_lookup (this,
- e);
- return 0;
- }
-
- // OK, loop through supported interfaces.
-
- // (Don't leave the inheritance hierarchy, no module or global ...)
- // Find all and report ambiguous results as error.
-
- for (nis = this->n_supports (), is = this->supports ();
- nis > 0;
- nis--, is++)
- {
- d = (*is)->lookup_by_name (e,
- treat_as_ref,
- 0 /* not in parent */);
- if (d != 0)
- {
- break;
- }
- }
-
- return d;
-}
-
AST_Component *
AST_Component::base_component (void) const
{