summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-07 11:45:35 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-07 11:47:33 +0100
commite1d1203db3e48aa29bb3774f3ba444da26091fb1 (patch)
tree2806da54321e52369b388f3129e2e0a1ca65de82 /TAO/TAO_IDL/be/be_visitor_union_branch/private_ch.cpp
parentc62ecd5955c1350fa25f95deb9bce2c81bc70f1c (diff)
downloadATCD-e1d1203db3e48aa29bb3774f3ba444da26091fb1.tar.gz
Use nullptr instead of 0 in tao_idl
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.cpp26
1 files changed, 13 insertions, 13 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..502263e8f1c 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
@@ -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 ())