diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_union.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_union.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/TAO/TAO_IDL/be/be_union.cpp b/TAO/TAO_IDL/be/be_union.cpp index c5577a14be0..4477c463d60 100644 --- a/TAO/TAO_IDL/be/be_union.cpp +++ b/TAO/TAO_IDL/be/be_union.cpp @@ -676,38 +676,6 @@ be_union::gen_out_impl (char *, return 0; } -// Compute the size type of the node in question. -int -be_union::compute_size_type (void) -{ - for (UTL_ScopeActiveIterator si (this, UTL_Scope::IK_decls); - !si.is_done (); - si.next ()) - { - // Get the next AST decl node. - AST_Decl *d = si.item (); - AST_Field *f = AST_Field::narrow_from_decl (d); - - if (f != 0) - { - AST_Type *t = f->field_type (); - // Our sizetype depends on the sizetype of our members. Although - // previous value of sizetype may get overwritten, we are - // guaranteed by the "size_type" call that once the value reached - // be_decl::VARIABLE, nothing else can overwrite it. - this->size_type (t->size_type ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_union::compute_size_type - " - "narrow_from_decl returned 0\n")); - } - } - - return 0; -} - idl_bool be_union::has_duplicate_case_labels (void) { |