diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-19 20:53:38 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-19 20:53:38 +0000 |
commit | 0a22138abb5bced5a6ba6ecaad7d7bab24a7b07c (patch) | |
tree | b2f584955b061562f23c0fbf962dc478015b35fc /TAO/TAO_IDL/be/be_interface.cpp | |
parent | e75c406ea087925ecfcb28df6538bcd2c08be169 (diff) | |
download | ATCD-0a22138abb5bced5a6ba6ecaad7d7bab24a7b07c.tar.gz |
Reverted previous change to be_union::compute_size_type() and
added member and get/set methods has_constructor to base
class be_decl. Used in conjuction with size_type(), these
should determine correctly when a union member should be
a pointer without changing the signature of generated
operations.
Diffstat (limited to 'TAO/TAO_IDL/be/be_interface.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp index a3f8a4806ad..c6312cdf8a6 100644 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ b/TAO/TAO_IDL/be/be_interface.cpp @@ -44,6 +44,7 @@ be_interface::be_interface (void) in_mult_inheritance_ (-1) { this->size_type (be_decl::VARIABLE); // always the case + this->has_constructor (I_TRUE); // always the case } // constructor used to build the AST @@ -63,6 +64,7 @@ be_interface::be_interface (UTL_ScopedName *n, AST_Interface **ih, long nih, in_mult_inheritance_ (-1) { this->size_type (be_decl::VARIABLE); // always the case + this->has_constructor (I_TRUE); // always the case } be_interface::~be_interface (void) |