diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp index 8eed1cecc00..a9aef5adc87 100644 --- a/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp @@ -25,7 +25,7 @@ be_visitor_union_branch_private_ch::be_visitor_union_branch_private_ch ( } // Destructor. -be_visitor_union_branch_private_ch::~be_visitor_union_branch_private_ch (void) +be_visitor_union_branch_private_ch::~be_visitor_union_branch_private_ch () { } @@ -63,7 +63,7 @@ be_visitor_union_branch_private_ch::visit_array (be_array *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node. if (this->ctx_->alias ()) @@ -113,7 +113,7 @@ be_visitor_union_branch_private_ch::visit_enum (be_enum *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -152,7 +152,7 @@ be_visitor_union_branch_private_ch::visit_interface (be_interface *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -191,7 +191,7 @@ be_visitor_union_branch_private_ch::visit_interface_fwd (be_interface_fwd *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -230,7 +230,7 @@ be_visitor_union_branch_private_ch::visit_valuebox (be_valuebox *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -269,7 +269,7 @@ be_visitor_union_branch_private_ch::visit_valuetype (be_valuetype *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -308,7 +308,7 @@ be_visitor_union_branch_private_ch::visit_valuetype_fwd (be_valuetype_fwd *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -349,11 +349,11 @@ be_visitor_union_branch_private_ch::visit_predefined_type ( { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; be_typedef *td = this->ctx_->alias (); // Check if we are visiting this node via a visit to a typedef node - if (td != 0) + if (td != nullptr) { bt = td; } @@ -417,7 +417,7 @@ be_visitor_union_branch_private_ch::visit_sequence (be_sequence *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -492,7 +492,7 @@ be_visitor_union_branch_private_ch::visit_structure (be_structure *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) @@ -563,7 +563,7 @@ be_visitor_union_branch_private_ch::visit_typedef (be_typedef *node) -1); } - this->ctx_->alias (0); + this->ctx_->alias (nullptr); return 0; } @@ -572,7 +572,7 @@ be_visitor_union_branch_private_ch::visit_union (be_union *node) { be_decl *ub = this->ctx_->node (); be_decl *bu = this->ctx_->scope ()->decl (); - be_type *bt = 0; + be_type *bt = nullptr; // Check if we are visiting this node via a visit to a typedef node if (this->ctx_->alias ()) |