diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp b/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp index e57f7a4b75b..f5583c3a36f 100644 --- a/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp +++ b/TAO/TAO_IDL/be/be_visitor_amh_pre_proc.cpp @@ -265,13 +265,10 @@ be_visitor_amh_pre_proc::create_exception_holder (be_interface *node) // Create a virtual module named "Messaging" and an valuetype "ExceptionHolder" // from which we inherit. UTL_ScopedName *inherit_name = - new UTL_ScopedName (new Identifier ("Messaging", 0,0,0), + new UTL_ScopedName (new Identifier ("Messaging"), 0); - inherit_name->nconc (new UTL_ScopedName (new Identifier ("ExceptionHolder", - 0, - 0, - 0), + inherit_name->nconc (new UTL_ScopedName (new Identifier ("ExceptionHolder"), 0)); be_valuetype *inherit_vt = new be_valuetype (inherit_name, @@ -280,11 +277,8 @@ be_visitor_amh_pre_proc::create_exception_holder (be_interface *node) 0); inherit_vt->set_name (inherit_name); - be_module *msg = new be_module (new UTL_ScopedName (new Identifier ("Messaging", - 0, - 0, - 0), - 0), + be_module *msg = new be_module (new UTL_ScopedName (new Identifier ("Messaging"), + 0), 0); // Notice the valuetype "ExceptionHolder" that it is defined in the @@ -507,7 +501,7 @@ be_visitor_amh_pre_proc::create_amh_operation (be_operation *node, UTL_ScopedName *op_name = ACE_static_cast (UTL_ScopedName *, amh_class->name ()-> copy ()); op_name->nconc (new UTL_ScopedName ( new Identifier ( - original_op_name.rep (), 1, 0, I_FALSE), + original_op_name.rep ()), 0)); // Create the operation @@ -617,10 +611,10 @@ be_visitor_amh_pre_proc::create_response_handler (be_interface *node, // Create a virtual module named "Messaging" and an interface "responseHandler" // from which we inherit. UTL_ScopedName *inherit_name = - new UTL_ScopedName (new Identifier ("Messaging", 0,0,0), + new UTL_ScopedName (new Identifier ("Messaging"), 0); - inherit_name->nconc (new UTL_ScopedName (new Identifier ("responseHandler", 0,0,0), + inherit_name->nconc (new UTL_ScopedName (new Identifier ("responseHandler"), 0)); be_interface *inherit_intf = new be_interface (inherit_name, @@ -633,7 +627,7 @@ be_visitor_amh_pre_proc::create_response_handler (be_interface *node, 0); // not abstract inherit_intf->set_name (inherit_name); - be_module *msg = new be_module (new UTL_ScopedName (new Identifier ("Messaging", 0,0,0), + be_module *msg = new be_module (new UTL_ScopedName (new Identifier ("Messaging"), 0), 0); @@ -763,10 +757,7 @@ be_visitor_amh_pre_proc::create_raise_operation (be_decl *node, // Create the return type, which is "void" be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void, new UTL_ScopedName - (new Identifier ("void", - 1, - 0, - I_FALSE), + (new Identifier ("void"), 0), 0); @@ -786,7 +777,7 @@ be_visitor_amh_pre_proc::create_raise_operation (be_decl *node, op_name->nconc (new UTL_ScopedName ( new Identifier ( - new_local_name.rep (), 1, 0, I_FALSE), + new_local_name.rep ()), 0)); be_operation *operation = new be_operation (rt, @@ -1285,7 +1276,7 @@ be_visitor_amh_pre_proc::generate_set_operation (be_attribute *node) be_predefined_type *rt = new be_predefined_type (AST_PredefinedType::PT_void, new UTL_ScopedName (new Identifier - ("void", 1, 0, I_FALSE), 0), + ("void"), 0), 0); // argument type is the same as the attribute type |