summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/ast/ast_home.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
commit40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch)
tree37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/TAO_IDL/ast/ast_home.cpp
parentc254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff)
downloadATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_home.cpp')
-rw-r--r--TAO/TAO_IDL/ast/ast_home.cpp53
1 files changed, 0 insertions, 53 deletions
diff --git a/TAO/TAO_IDL/ast/ast_home.cpp b/TAO/TAO_IDL/ast/ast_home.cpp
index bbc1c40615c..c098ccb4763 100644
--- a/TAO/TAO_IDL/ast/ast_home.cpp
+++ b/TAO/TAO_IDL/ast/ast_home.cpp
@@ -7,7 +7,6 @@
#include "ast_visitor.h"
#include "utl_identifier.h"
#include "utl_indenter.h"
-#include "utl_err.h"
#include "global_extern.h"
ACE_RCSID (ast,
@@ -58,58 +57,6 @@ AST_Home::~AST_Home (void)
{
}
-AST_Decl *
-AST_Home::look_in_inherited (UTL_ScopedName *e,
- idl_bool treat_as_ref)
-{
- AST_Decl *d = 0;
-
- if (this->pd_base_home != 0)
- {
- d = this->pd_base_home->lookup_by_name (e, treat_as_ref);
- }
-
- return d;
-}
-
-// Look through supported interface list.
-AST_Decl *
-AST_Home::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_Home *
AST_Home::base_home (void) const
{