summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include')
-rw-r--r--TAO/TAO_IDL/include/ast_argument.h6
-rw-r--r--TAO/TAO_IDL/include/ast_array.h14
-rw-r--r--TAO/TAO_IDL/include/ast_attribute.h12
-rw-r--r--TAO/TAO_IDL/include/ast_component.h10
-rw-r--r--TAO/TAO_IDL/include/ast_component_fwd.h6
-rw-r--r--TAO/TAO_IDL/include/ast_concrete_type.h4
-rw-r--r--TAO/TAO_IDL/include/ast_connector.h8
-rw-r--r--TAO/TAO_IDL/include/ast_constant.h14
-rw-r--r--TAO/TAO_IDL/include/ast_consumes.h6
-rw-r--r--TAO/TAO_IDL/include/ast_decl.h64
-rw-r--r--TAO/TAO_IDL/include/ast_emits.h6
-rw-r--r--TAO/TAO_IDL/include/ast_enum.h12
-rw-r--r--TAO/TAO_IDL/include/ast_enum_val.h2
-rw-r--r--TAO/TAO_IDL/include/ast_eventtype.h4
-rw-r--r--TAO/TAO_IDL/include/ast_eventtype_fwd.h4
-rw-r--r--TAO/TAO_IDL/include/ast_exception.h4
-rw-r--r--TAO/TAO_IDL/include/ast_expression.h28
-rw-r--r--TAO/TAO_IDL/include/ast_extended_port.h6
-rw-r--r--TAO/TAO_IDL/include/ast_extern.h2
-rw-r--r--TAO/TAO_IDL/include/ast_factory.h16
-rw-r--r--TAO/TAO_IDL/include/ast_field.h10
-rw-r--r--TAO/TAO_IDL/include/ast_finder.h4
-rw-r--r--TAO/TAO_IDL/include/ast_generator.h4
-rw-r--r--TAO/TAO_IDL/include/ast_home.h16
-rw-r--r--TAO/TAO_IDL/include/ast_interface.h34
-rw-r--r--TAO/TAO_IDL/include/ast_interface_fwd.h18
-rw-r--r--TAO/TAO_IDL/include/ast_mirror_port.h4
-rw-r--r--TAO/TAO_IDL/include/ast_module.h14
-rw-r--r--TAO/TAO_IDL/include/ast_native.h4
-rw-r--r--TAO/TAO_IDL/include/ast_operation.h24
-rw-r--r--TAO/TAO_IDL/include/ast_param_holder.h6
-rw-r--r--TAO/TAO_IDL/include/ast_porttype.h4
-rw-r--r--TAO/TAO_IDL/include/ast_predefined_type.h8
-rw-r--r--TAO/TAO_IDL/include/ast_provides.h6
-rw-r--r--TAO/TAO_IDL/include/ast_publishes.h6
-rw-r--r--TAO/TAO_IDL/include/ast_root.h8
-rw-r--r--TAO/TAO_IDL/include/ast_sequence.h14
-rw-r--r--TAO/TAO_IDL/include/ast_string.h8
-rw-r--r--TAO/TAO_IDL/include/ast_structure.h26
-rw-r--r--TAO/TAO_IDL/include/ast_structure_fwd.h12
-rw-r--r--TAO/TAO_IDL/include/ast_template_module.h6
-rw-r--r--TAO/TAO_IDL/include/ast_template_module_inst.h8
-rw-r--r--TAO/TAO_IDL/include/ast_template_module_ref.h10
-rw-r--r--TAO/TAO_IDL/include/ast_type.h18
-rw-r--r--TAO/TAO_IDL/include/ast_typedef.h16
-rw-r--r--TAO/TAO_IDL/include/ast_union.h18
-rw-r--r--TAO/TAO_IDL/include/ast_union_branch.h8
-rw-r--r--TAO/TAO_IDL/include/ast_union_fwd.h4
-rw-r--r--TAO/TAO_IDL/include/ast_union_label.h8
-rw-r--r--TAO/TAO_IDL/include/ast_uses.h8
-rw-r--r--TAO/TAO_IDL/include/ast_valuebox.h6
-rw-r--r--TAO/TAO_IDL/include/ast_valuetype.h22
-rw-r--r--TAO/TAO_IDL/include/ast_valuetype_fwd.h4
-rw-r--r--TAO/TAO_IDL/include/ast_visitor.h4
-rw-r--r--TAO/TAO_IDL/include/ast_visitor_context.h8
-rw-r--r--TAO/TAO_IDL/include/ast_visitor_reifying.h4
-rw-r--r--TAO/TAO_IDL/include/ast_visitor_tmpl_module_inst.h2
-rw-r--r--TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h2
-rw-r--r--TAO/TAO_IDL/include/drv_extern.h10
-rw-r--r--TAO/TAO_IDL/include/fe_component_header.h12
-rw-r--r--TAO/TAO_IDL/include/fe_declarator.h10
-rw-r--r--TAO/TAO_IDL/include/fe_extern.h16
-rw-r--r--TAO/TAO_IDL/include/fe_home_header.h8
-rw-r--r--TAO/TAO_IDL/include/fe_interface_header.h22
-rw-r--r--TAO/TAO_IDL/include/fe_obv_header.h14
-rw-r--r--TAO/TAO_IDL/include/fe_utils.h8
-rw-r--r--TAO/TAO_IDL/include/idl_global.h154
-rw-r--r--TAO/TAO_IDL/include/utl_decllist.h6
-rw-r--r--TAO/TAO_IDL/include/utl_err.h6
-rw-r--r--TAO/TAO_IDL/include/utl_exceptlist.h8
-rw-r--r--TAO/TAO_IDL/include/utl_exprlist.h6
-rw-r--r--TAO/TAO_IDL/include/utl_identifier.h12
-rw-r--r--TAO/TAO_IDL/include/utl_idlist.h14
-rw-r--r--TAO/TAO_IDL/include/utl_indenter.h10
-rw-r--r--TAO/TAO_IDL/include/utl_labellist.h8
-rw-r--r--TAO/TAO_IDL/include/utl_list.h16
-rw-r--r--TAO/TAO_IDL/include/utl_namelist.h8
-rw-r--r--TAO/TAO_IDL/include/utl_scope.h22
-rw-r--r--TAO/TAO_IDL/include/utl_stack.h24
-rw-r--r--TAO/TAO_IDL/include/utl_string.h10
-rw-r--r--TAO/TAO_IDL/include/utl_strlist.h12
81 files changed, 515 insertions, 515 deletions
diff --git a/TAO/TAO_IDL/include/ast_argument.h b/TAO/TAO_IDL/include/ast_argument.h
index 1666dd12548..6f90a060c00 100644
--- a/TAO/TAO_IDL/include/ast_argument.h
+++ b/TAO/TAO_IDL/include/ast_argument.h
@@ -87,10 +87,10 @@ public:
AST_Type *ft,
UTL_ScopedName *n);
- virtual ~AST_Argument (void);
+ virtual ~AST_Argument ();
// Data Accessors.
- Direction direction (void);
+ Direction direction ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -99,7 +99,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_array.h b/TAO/TAO_IDL/include/ast_array.h
index 6fac7521260..7ea8b6521ed 100644
--- a/TAO/TAO_IDL/include/ast_array.h
+++ b/TAO/TAO_IDL/include/ast_array.h
@@ -87,26 +87,26 @@ public:
bool local,
bool abstract);
- virtual ~AST_Array (void);
+ virtual ~AST_Array ();
// Data Accessors.
- ACE_CDR::ULong n_dims (void);
+ ACE_CDR::ULong n_dims ();
- AST_Expression **dims (void);
+ AST_Expression **dims ();
void set_dims (AST_Expression **,
ACE_CDR::ULong);
- AST_Type *base_type (void) const;
+ AST_Type *base_type () const;
void set_base_type (AST_Type *nbt);
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -125,7 +125,7 @@ public:
///}
protected:
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Compute the size type if it is unknown.
private:
diff --git a/TAO/TAO_IDL/include/ast_attribute.h b/TAO/TAO_IDL/include/ast_attribute.h
index e1d813fd9cf..b8be84250cc 100644
--- a/TAO/TAO_IDL/include/ast_attribute.h
+++ b/TAO/TAO_IDL/include/ast_attribute.h
@@ -81,13 +81,13 @@ public:
bool local,
bool abstract);
- virtual ~AST_Attribute (void);
+ virtual ~AST_Attribute ();
// Data Accessors.
- bool readonly (void) const;
- UTL_ExceptList *get_get_exceptions (void) const;
- UTL_ExceptList *get_set_exceptions (void) const;
+ bool readonly () const;
+ UTL_ExceptList *get_get_exceptions () const;
+ UTL_ExceptList *get_set_exceptions () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -96,7 +96,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
// Methods to add exceptions directly, used when copying node.
UTL_ExceptList *be_add_get_exceptions (UTL_ExceptList *t);
@@ -119,7 +119,7 @@ private:
// Scope Management Protocol.
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
virtual UTL_NameList *fe_add_get_exceptions (UTL_NameList *e);
virtual UTL_NameList *fe_add_set_exceptions (UTL_NameList *e);
};
diff --git a/TAO/TAO_IDL/include/ast_component.h b/TAO/TAO_IDL/include/ast_component.h
index fe962cab9ac..7d45a7b455b 100644
--- a/TAO/TAO_IDL/include/ast_component.h
+++ b/TAO/TAO_IDL/include/ast_component.h
@@ -24,7 +24,7 @@ public:
AST_Interface **supports_flat,
long n_supports_flat);
- virtual ~AST_Component (void);
+ virtual ~AST_Component ();
// This also calls the base class version.
virtual void redefine (AST_Interface *from);
@@ -39,11 +39,11 @@ public:
// Accessors.
- AST_Component *base_component (void) const;
+ AST_Component *base_component () const;
- AST_Type **supports (void) const;
+ AST_Type **supports () const;
- long n_supports (void) const;
+ long n_supports () const;
// Override for component of UTL_Scope method.
virtual AST_Decl *special_lookup (UTL_ScopedName *e,
@@ -51,7 +51,7 @@ public:
AST_Decl *&final_parent_decl);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Allows adding an uses to a later point
// The port i is inserted after port ix, if
diff --git a/TAO/TAO_IDL/include/ast_component_fwd.h b/TAO/TAO_IDL/include/ast_component_fwd.h
index 528b1da6753..61b721beff6 100644
--- a/TAO/TAO_IDL/include/ast_component_fwd.h
+++ b/TAO/TAO_IDL/include/ast_component_fwd.h
@@ -12,10 +12,10 @@ public:
AST_ComponentFwd (AST_Interface *dummy,
UTL_ScopedName *n);
- virtual ~AST_ComponentFwd (void);
+ virtual ~AST_ComponentFwd ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
@@ -24,7 +24,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Is this decl a forward declared type (Yes)
- virtual bool is_fwd (void);
+ virtual bool is_fwd ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_concrete_type.h b/TAO/TAO_IDL/include/ast_concrete_type.h
index 79caca0859a..3d15bc1ba7b 100644
--- a/TAO/TAO_IDL/include/ast_concrete_type.h
+++ b/TAO/TAO_IDL/include/ast_concrete_type.h
@@ -77,10 +77,10 @@ public:
AST_ConcreteType (AST_Decl::NodeType nt,
UTL_ScopedName *n);
- virtual ~AST_ConcreteType (void);
+ virtual ~AST_ConcreteType ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
virtual bool annotatable () const { return true; }
};
diff --git a/TAO/TAO_IDL/include/ast_connector.h b/TAO/TAO_IDL/include/ast_connector.h
index 54d08ce7e26..d1748e5853e 100644
--- a/TAO/TAO_IDL/include/ast_connector.h
+++ b/TAO/TAO_IDL/include/ast_connector.h
@@ -9,17 +9,17 @@ class TAO_IDL_FE_Export AST_Connector
: public virtual AST_Component
{
public:
- AST_Connector (void);
+ AST_Connector ();
AST_Connector (UTL_ScopedName *n,
AST_Connector *base_connector);
- virtual ~AST_Connector (void);
+ virtual ~AST_Connector ();
- AST_Connector *base_connector (void) const;
+ AST_Connector *base_connector () const;
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
diff --git a/TAO/TAO_IDL/include/ast_constant.h b/TAO/TAO_IDL/include/ast_constant.h
index f0961ab11be..b974e63a842 100644
--- a/TAO/TAO_IDL/include/ast_constant.h
+++ b/TAO/TAO_IDL/include/ast_constant.h
@@ -92,23 +92,23 @@ public:
AST_Expression *ev,
UTL_ScopedName *n);
- virtual ~AST_Constant (void);
+ virtual ~AST_Constant ();
// Data Accessors.
- AST_Expression *constant_value (void);
- AST_Expression::ExprType et (void);
+ AST_Expression *constant_value ();
+ AST_Expression::ExprType et ();
// Accessors for the private member.
- bool ifr_added (void);
+ bool ifr_added ();
void ifr_added (bool val);
- const char *exprtype_to_string (void);
+ const char *exprtype_to_string ();
// Returns the appropriate type.
static const char *exprtype_to_string (AST_Expression::ExprType et);
// For use with ORBs without the CORBA namespace.
- UTL_ScopedName *enum_full_name (void);
+ UTL_ScopedName *enum_full_name ();
// If our type is enum, we have to generate the scoped name.
// AST Dumping.
@@ -118,7 +118,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_consumes.h b/TAO/TAO_IDL/include/ast_consumes.h
index 22c84fc62e3..9060876b5c3 100644
--- a/TAO/TAO_IDL/include/ast_consumes.h
+++ b/TAO/TAO_IDL/include/ast_consumes.h
@@ -12,10 +12,10 @@ public:
AST_Consumes (UTL_ScopedName *n,
AST_Type *consumes_type);
- virtual ~AST_Consumes (void);
+ virtual ~AST_Consumes ();
// Data Accessor.
- AST_Type *consumes_type (void) const;
+ AST_Type *consumes_type () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -24,7 +24,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h
index a617dc4023b..c018be50aba 100644
--- a/TAO/TAO_IDL/include/ast_decl.h
+++ b/TAO/TAO_IDL/include/ast_decl.h
@@ -93,17 +93,17 @@ protected:
COMMON_Base (bool local = false,
bool abstract = false);
- virtual ~COMMON_Base (void);
+ virtual ~COMMON_Base ();
public:
// A no-op, overridden in the child classes.
- virtual void destroy (void);
+ virtual void destroy ();
// Accessor needs to get overridden for a few types.
- virtual bool is_local (void);
+ virtual bool is_local ();
void is_local (bool val);
- bool is_abstract (void) const;
+ bool is_abstract () const;
void is_abstract (bool val);
protected:
@@ -195,10 +195,10 @@ public:
UTL_ScopedName *name,
AST_Decl *other);
- virtual ~AST_Decl (void);
+ virtual ~AST_Decl ();
// Cleanup method.
- virtual void destroy (void);
+ virtual void destroy ();
// If this decl has been found, some types need to be
// moved onto their true definitions etc. Defaults to
@@ -206,28 +206,28 @@ public:
virtual AST_Decl *adjust_found (bool ignore_fwd, bool full_def_only);
// Is this decl a forward declared type (default false)
- virtual bool is_fwd (void);
+ virtual bool is_fwd ();
// Data Accessors.
- bool imported (void);
+ bool imported ();
void set_imported (bool is_it);
- bool in_main_file (void);
+ bool in_main_file ();
void set_in_main_file (bool is_it);
- UTL_Scope *defined_in (void);
+ UTL_Scope *defined_in ();
void set_defined_in (UTL_Scope *);
- NodeType node_type (void);
+ NodeType node_type ();
- long line (void);
+ long line ();
void set_line (long l);
- ACE_CString & file_name (void);
+ ACE_CString & file_name ();
void set_file_name (ACE_CString s);
- UTL_ScopedName *name (void);
+ UTL_ScopedName *name ();
UTL_ScopedName *compute_name (const char *prefix,
const char *suffix);
@@ -236,36 +236,36 @@ public:
void set_name (UTL_ScopedName *n);
- Identifier *local_name (void);
+ Identifier *local_name ();
void local_name (Identifier *id);
Identifier *compute_local_name (const char *prefix,
const char *sufix);
// Apply prefix and suffix to the local name and return.
- virtual const char *full_name (void);
+ virtual const char *full_name ();
// Return the stringified full name.
- virtual const char *flat_name (void);
+ virtual const char *flat_name ();
// Return the flattened full scoped name.
- const char *repoID (void);
+ const char *repoID ();
void repoID (char *value);
// Accessors for the repository ID.
- const char *prefix (void);
+ const char *prefix ();
void prefix (const char *value);
// Accessors for the repository ID prefix.
- const char *version (void);
+ const char *version ();
void version (char *value);
// Accessors for the version_ member.
- bool anonymous (void) const;
+ bool anonymous () const;
void anonymous (bool val);
// Accessors for the anonymous_ member.
- bool typeid_set (void) const;
+ bool typeid_set () const;
void typeid_set (bool val);
// Accessors for the typeid_set_ member.
@@ -280,12 +280,12 @@ public:
// prefix to the all the reserved keywords. But when we invoke the
// operation remotely, we should be sending only the name with out
// "_cxx_" prefix.
- Identifier *original_local_name (void);
+ Identifier *original_local_name ();
void original_local_name (Identifier *);
// To be overridden by the subclasses interface, struct, union, and
// the corresponding forward declaration classes.
- virtual bool is_defined (void);
+ virtual bool is_defined ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -301,18 +301,18 @@ public:
// Return TRUE if "this" is a child of "s".
bool is_child (AST_Decl *s);
- bool is_nested (void);
+ bool is_nested ();
// Determines if we are inside of a nested scope or not.
- UTL_ScopedName *last_referenced_as (void) const;
+ UTL_ScopedName *last_referenced_as () const;
void last_referenced_as (UTL_ScopedName *n);
// Accessors for the prefix_scope_ member.
- UTL_Scope *prefix_scope (void);
+ UTL_Scope *prefix_scope ();
void prefix_scope (UTL_Scope *s);
// Useful for GIOP to know if a wstring is being marshaled.
- virtual int contains_wstring (void);
+ virtual int contains_wstring ();
void contains_wstring (int val);
// Additional checks when we think we have caught an IDL
@@ -321,7 +321,7 @@ public:
bool masking_checks (AST_Decl *mod);
// Accessors for the member.
- bool in_tmpl_mod_not_aliased (void) const;
+ bool in_tmpl_mod_not_aliased () const;
void in_tmpl_mod_not_aliased (bool val);
/// Set and get annotations for this IDL element
@@ -405,13 +405,13 @@ protected:
void dump_i (ACE_OSTREAM_TYPE &o, const char *s) const ;
- void compute_repoID (void);
+ void compute_repoID ();
// Computes the repoID.
- void compute_full_name (void);
+ void compute_full_name ();
// Computes the stringified scoped name.
- void compute_flat_name (void);
+ void compute_flat_name ();
// Compute the flattened fully scoped name.
const char *node_type_to_string (NodeType nt);
diff --git a/TAO/TAO_IDL/include/ast_emits.h b/TAO/TAO_IDL/include/ast_emits.h
index c19e620dafb..423a5f8a76a 100644
--- a/TAO/TAO_IDL/include/ast_emits.h
+++ b/TAO/TAO_IDL/include/ast_emits.h
@@ -12,10 +12,10 @@ public:
AST_Emits (UTL_ScopedName *n,
AST_Type *emits_type);
- virtual ~AST_Emits (void);
+ virtual ~AST_Emits ();
// Data Accessor.
- AST_Type *emits_type (void) const;
+ AST_Type *emits_type () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -24,7 +24,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_enum.h b/TAO/TAO_IDL/include/ast_enum.h
index dc580f08ab2..32b18f78a4c 100644
--- a/TAO/TAO_IDL/include/ast_enum.h
+++ b/TAO/TAO_IDL/include/ast_enum.h
@@ -80,7 +80,7 @@ public:
bool local,
bool abstract);
- virtual ~AST_Enum (void);
+ virtual ~AST_Enum ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
@@ -89,16 +89,16 @@ public:
AST_EnumVal *lookup_by_value (const AST_Expression *v);
// Get value to be assigned to next enumerator.
- unsigned long next_enum_val (void);
+ unsigned long next_enum_val ();
// Return the count of members
- virtual int member_count (void);
+ virtual int member_count ();
// Convert a numeric value to the enum's string name for it.
UTL_ScopedName *value_to_name (const unsigned long v);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
@@ -108,7 +108,7 @@ public:
virtual bool annotatable () const { return true; }
private:
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
unsigned long pd_enum_counter;
// Value for next enumerator.
@@ -116,7 +116,7 @@ private:
int member_count_;
// Number of members.
- int compute_member_count (void);
+ int compute_member_count ();
// Count the number of members.
virtual AST_EnumVal *fe_add_enum_val (AST_EnumVal *v);
diff --git a/TAO/TAO_IDL/include/ast_enum_val.h b/TAO/TAO_IDL/include/ast_enum_val.h
index fcfa695315d..f1667000d0b 100644
--- a/TAO/TAO_IDL/include/ast_enum_val.h
+++ b/TAO/TAO_IDL/include/ast_enum_val.h
@@ -78,7 +78,7 @@ public:
AST_EnumVal (ACE_CDR::ULong v,
UTL_ScopedName *n);
- virtual ~AST_EnumVal (void);
+ virtual ~AST_EnumVal ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
diff --git a/TAO/TAO_IDL/include/ast_eventtype.h b/TAO/TAO_IDL/include/ast_eventtype.h
index 10fb255cde7..f7243863e8c 100644
--- a/TAO/TAO_IDL/include/ast_eventtype.h
+++ b/TAO/TAO_IDL/include/ast_eventtype.h
@@ -20,10 +20,10 @@ public:
bool truncatable,
bool custom);
- virtual ~AST_EventType (void);
+ virtual ~AST_EventType ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_eventtype_fwd.h b/TAO/TAO_IDL/include/ast_eventtype_fwd.h
index 0913ae4e2e0..c859663a582 100644
--- a/TAO/TAO_IDL/include/ast_eventtype_fwd.h
+++ b/TAO/TAO_IDL/include/ast_eventtype_fwd.h
@@ -12,10 +12,10 @@ public:
AST_EventTypeFwd (AST_Interface *dummy,
UTL_ScopedName *n);
- virtual ~AST_EventTypeFwd (void);
+ virtual ~AST_EventTypeFwd ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
diff --git a/TAO/TAO_IDL/include/ast_exception.h b/TAO/TAO_IDL/include/ast_exception.h
index ebcb56fd145..76556795479 100644
--- a/TAO/TAO_IDL/include/ast_exception.h
+++ b/TAO/TAO_IDL/include/ast_exception.h
@@ -83,7 +83,7 @@ public:
bool local,
bool abstract);
- virtual ~AST_Exception (void);
+ virtual ~AST_Exception ();
virtual bool in_recursion (ACE_Unbounded_Queue<AST_Type *> &list);
// Check if we or the parameter node is in recursion.
@@ -95,7 +95,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_expression.h b/TAO/TAO_IDL/include/ast_expression.h
index ec2dfc4eb22..9a975bf9502 100644
--- a/TAO/TAO_IDL/include/ast_expression.h
+++ b/TAO/TAO_IDL/include/ast_expression.h
@@ -161,7 +161,7 @@ public:
// Structure to describe value of constant expression and its type.
struct AST_ExprValue
{
- AST_ExprValue (void);
+ AST_ExprValue ();
union
{
@@ -232,30 +232,30 @@ public:
AST_Expression (const ACE_CDR::Fixed &f);
// Destructor.
- virtual ~AST_Expression (void);
+ virtual ~AST_Expression ();
// Data Accessors.
- UTL_Scope *defined_in (void);
+ UTL_Scope *defined_in ();
void set_defined_in (UTL_Scope *d);
- long line (void);
+ long line ();
void set_line (long l);
- UTL_String *file_name (void);
+ UTL_String *file_name ();
void set_file_name (UTL_String *f);
- ExprComb ec (void);
+ ExprComb ec ();
- AST_ExprValue *ev (void);
+ AST_ExprValue *ev ();
void set_ev (AST_ExprValue *new_ev);
- AST_Expression *v1 (void);
+ AST_Expression *v1 ();
void set_v1 (AST_Expression *e);
- AST_Expression *v2 (void);
+ AST_Expression *v2 ();
void set_v2 (AST_Expression *e);
- UTL_ScopedName *n (void);
+ UTL_ScopedName *n ();
void set_n (UTL_ScopedName *new_n);
// AST Dumping.
@@ -265,7 +265,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
// Other operations.
@@ -286,10 +286,10 @@ public:
long compare (AST_Expression *vc);
// Accessor for the member.
- AST_Decl *get_tdef (void) const;
+ AST_Decl *get_tdef () const;
// Accessor for the member.
- AST_Param_Holder *param_holder (void) const;
+ AST_Param_Holder *param_holder () const;
static const char *exprtype_to_string (ExprType t);
@@ -345,7 +345,7 @@ private:
// Non-zero if we were created from a reference template param.
// Fill out the lineno, filename and definition scope details.
- void fill_definition_details (void);
+ void fill_definition_details ();
// Internal evaluation.
virtual AST_ExprValue *eval_internal (EvalKind ek);
diff --git a/TAO/TAO_IDL/include/ast_extended_port.h b/TAO/TAO_IDL/include/ast_extended_port.h
index 8e467d4977f..dd0fb686581 100644
--- a/TAO/TAO_IDL/include/ast_extended_port.h
+++ b/TAO/TAO_IDL/include/ast_extended_port.h
@@ -13,12 +13,12 @@ public:
UTL_ScopedName *n,
AST_PortType *porttype_ref);
- virtual ~AST_Extended_Port (void);
+ virtual ~AST_Extended_Port ();
- AST_PortType *port_type (void) const;
+ AST_PortType *port_type () const;
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_extern.h b/TAO/TAO_IDL/include/ast_extern.h
index c2c9e0f00af..480182b2467 100644
--- a/TAO/TAO_IDL/include/ast_extern.h
+++ b/TAO/TAO_IDL/include/ast_extern.h
@@ -79,7 +79,7 @@ class AST_Decl;
// type the full definition was also seen.
extern void AST_record_fwd_decl (AST_Type *i);
-extern TAO_IDL_FE_Export void AST_check_fwd_decls (void);
+extern TAO_IDL_FE_Export void AST_check_fwd_decls ();
extern bool AST_illegal_recursive_type (AST_Decl *t);
extern bool AST_illegal_interface_recursion (AST_Decl *t);
diff --git a/TAO/TAO_IDL/include/ast_factory.h b/TAO/TAO_IDL/include/ast_factory.h
index c84ef84ca9e..d83aeacfd84 100644
--- a/TAO/TAO_IDL/include/ast_factory.h
+++ b/TAO/TAO_IDL/include/ast_factory.h
@@ -81,18 +81,18 @@ class TAO_IDL_FE_Export AST_Factory : public virtual AST_Decl,
public:
AST_Factory (UTL_ScopedName *n);
- virtual ~AST_Factory (void);
+ virtual ~AST_Factory ();
- UTL_ExceptList *exceptions (void);
+ UTL_ExceptList *exceptions ();
// Return exception list.
- int n_exceptions (void);
+ int n_exceptions ();
// Return exception count.
- virtual int argument_count (void);
+ virtual int argument_count ();
// Return the count of members.
- virtual int has_native (void);
+ virtual int has_native ();
// Any of the arguments or the return value is a <native> type.
// This is important because in that case no code should be
// generated for the stubs.
@@ -101,7 +101,7 @@ public:
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
@@ -129,12 +129,12 @@ protected:
private:
// Operations.
- int compute_argument_attr (void);
+ int compute_argument_attr ();
// Count the number of arguments.
// Scope Management Protocol.
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
virtual AST_Argument *fe_add_argument (AST_Argument *a);
virtual UTL_NameList *fe_add_exceptions (UTL_NameList *e);
};
diff --git a/TAO/TAO_IDL/include/ast_field.h b/TAO/TAO_IDL/include/ast_field.h
index 68d8fe39754..2949a69b97e 100644
--- a/TAO/TAO_IDL/include/ast_field.h
+++ b/TAO/TAO_IDL/include/ast_field.h
@@ -109,10 +109,10 @@ public:
UTL_ScopedName *name,
AST_Field *other);
- virtual ~AST_Field (void);
+ virtual ~AST_Field ();
// Data Accessors.
- AST_Type *field_type (void) const;
+ AST_Type *field_type () const;
/// Get and Set Visibility
///{
@@ -121,12 +121,12 @@ public:
///}
// Are we or do we contain a wstring?
- virtual int contains_wstring (void);
+ virtual int contains_wstring ();
// Determine this bit of state after we have
// be added to our aggregate type and before
// we are destroyed.
- void set_recursive_flag (void);
+ void set_recursive_flag ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -135,7 +135,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_finder.h b/TAO/TAO_IDL/include/ast_finder.h
index 25d6dabd511..f66e44d910f 100644
--- a/TAO/TAO_IDL/include/ast_finder.h
+++ b/TAO/TAO_IDL/include/ast_finder.h
@@ -12,13 +12,13 @@ public:
AST_Finder (UTL_ScopedName *n);
- virtual ~AST_Finder (void);
+ virtual ~AST_Finder ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
diff --git a/TAO/TAO_IDL/include/ast_generator.h b/TAO/TAO_IDL/include/ast_generator.h
index d4fd9fbac16..36c34f517d4 100644
--- a/TAO/TAO_IDL/include/ast_generator.h
+++ b/TAO/TAO_IDL/include/ast_generator.h
@@ -103,9 +103,9 @@ class AST_Annotation_Member;
class TAO_IDL_FE_Export AST_Generator
{
public:
- AST_Generator (void) {}
+ AST_Generator () {}
- virtual ~AST_Generator (void) {}
+ virtual ~AST_Generator () {}
// Operations.
diff --git a/TAO/TAO_IDL/include/ast_home.h b/TAO/TAO_IDL/include/ast_home.h
index 728b3af6a55..045c1357e8b 100644
--- a/TAO/TAO_IDL/include/ast_home.h
+++ b/TAO/TAO_IDL/include/ast_home.h
@@ -20,7 +20,7 @@ public:
AST_Interface **supports_flat,
long n_supports_flat);
- virtual ~AST_Home (void);
+ virtual ~AST_Home ();
// Extend lookup to the base home.
virtual AST_Decl *look_in_inherited (UTL_ScopedName *e,
@@ -37,20 +37,20 @@ public:
// Accessors.
- AST_Home *base_home (void) const;
+ AST_Home *base_home () const;
- AST_Type **supports (void) const;
+ AST_Type **supports () const;
- long n_supports (void) const;
+ long n_supports () const;
- AST_Component *managed_component (void) const;
+ AST_Component *managed_component () const;
- AST_Type *primary_key (void) const;
+ AST_Type *primary_key () const;
void transfer_scope_elements (AST_Interface *dst);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -63,7 +63,7 @@ public:
private:
// Scope Management Protocol.
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
friend class ast_visitor_tmpl_module_inst;
virtual AST_Factory *fe_add_factory (AST_Factory *f);
diff --git a/TAO/TAO_IDL/include/ast_interface.h b/TAO/TAO_IDL/include/ast_interface.h
index ebb57be4b30..a5fe7b023f5 100644
--- a/TAO/TAO_IDL/include/ast_interface.h
+++ b/TAO/TAO_IDL/include/ast_interface.h
@@ -85,7 +85,7 @@ public:
bool local,
bool abstract);
- virtual ~AST_Interface (void);
+ virtual ~AST_Interface ();
// This serves for interfaces, value types, components, and eventtypes.
static void fwd_redefinition_helper (AST_Interface *&i,
@@ -94,16 +94,16 @@ public:
// Overridden for valuetypes, components, and eventtypes.
virtual void redefine (AST_Interface *from);
- AST_Type **inherits (void) const;
+ AST_Type **inherits () const;
- long n_inherits (void) const;
+ long n_inherits () const;
- AST_Interface **inherits_flat (void) const;
+ AST_Interface **inherits_flat () const;
- long n_inherits_flat (void) const;
+ long n_inherits_flat () const;
- ACE_Unbounded_Queue<AST_Type *> &get_insert_queue (void);
- ACE_Unbounded_Queue<AST_Type *> &get_del_queue (void);
+ ACE_Unbounded_Queue<AST_Type *> &get_insert_queue ();
+ ACE_Unbounded_Queue<AST_Type *> &get_del_queue ();
AST_Operation *be_add_operation (AST_Operation *);
@@ -113,18 +113,18 @@ public:
// Is this interface defined? This predicate returns FALSE when an
// interface was forward declared but not defined yet, and TRUE in
// all other cases.
- bool is_defined (void);
+ bool is_defined ();
// Check if we have redefined any of our parents' operations or attributes,
// and check if there is such a clash among the parents
- bool redef_clash (void);
+ bool redef_clash ();
// Accessors for the member.
- bool home_equiv (void) const;
+ bool home_equiv () const;
void home_equiv (bool val);
// Accessors for the member.
- AST_InterfaceFwd *fwd_decl (void) const;
+ AST_InterfaceFwd *fwd_decl () const;
void fwd_decl (AST_InterfaceFwd *node);
// Look through inherited interfaces.
@@ -135,29 +135,29 @@ public:
bool full_def_only = false);
/// Do we have both abstract and concrete parents?
- int has_mixed_parentage (void);
+ int has_mixed_parentage ();
/// Compute whether or not we have both abstract and concrete parents,
/// and make a list of the abstract parents, if any.
- void analyze_parentage (void);
+ void analyze_parentage ();
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
virtual AST_Decl *special_lookup (UTL_ScopedName *e,
bool full_def_only,
AST_Decl *&final_parent_decl);
/// Accessors for the members.
- AST_Interface *ami_handler (void) const;
+ AST_Interface *ami_handler () const;
void ami_handler (AST_Interface *handler);
- AST_Interface *ami4ccm_uses (void) const;
+ AST_Interface *ami4ccm_uses () const;
void ami4ccm_uses (AST_Interface *implied);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_interface_fwd.h b/TAO/TAO_IDL/include/ast_interface_fwd.h
index f0427fedd5c..101b39fd6d6 100644
--- a/TAO/TAO_IDL/include/ast_interface_fwd.h
+++ b/TAO/TAO_IDL/include/ast_interface_fwd.h
@@ -77,9 +77,9 @@ public:
AST_InterfaceFwd (AST_Interface *dummy,
UTL_ScopedName *n);
- virtual ~AST_InterfaceFwd (void);
+ virtual ~AST_InterfaceFwd ();
- AST_Interface *full_definition (void);
+ AST_Interface *full_definition ();
/**
* Sets the full definition. If there is an existing dummy definition, it
@@ -87,7 +87,7 @@ public:
*/
void set_full_definition (AST_Interface *nfd);
- virtual bool is_defined (void);
+ virtual bool is_defined ();
void set_as_defined ();
/**
@@ -98,14 +98,14 @@ public:
*/
void disown_full_definition ();
- virtual bool is_local (void);
- virtual bool is_valuetype (void);
- virtual bool is_abstract_valuetype (void);
+ virtual bool is_local ();
+ virtual bool is_valuetype ();
+ virtual bool is_abstract_valuetype ();
- bool full_def_seen (void);
+ bool full_def_seen ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
@@ -114,7 +114,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Is this decl a forward declared type (Yes)
- virtual bool is_fwd (void);
+ virtual bool is_fwd ();
// We don't actually want the forward declaration,
// but want to return the full definition member,
diff --git a/TAO/TAO_IDL/include/ast_mirror_port.h b/TAO/TAO_IDL/include/ast_mirror_port.h
index dee54323979..3195c88da4a 100644
--- a/TAO/TAO_IDL/include/ast_mirror_port.h
+++ b/TAO/TAO_IDL/include/ast_mirror_port.h
@@ -12,10 +12,10 @@ public:
UTL_ScopedName *n,
AST_PortType *porttype_ref);
- virtual ~AST_Mirror_Port (void);
+ virtual ~AST_Mirror_Port ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_module.h b/TAO/TAO_IDL/include/ast_module.h
index 07da023f2f3..d697dcb785e 100644
--- a/TAO/TAO_IDL/include/ast_module.h
+++ b/TAO/TAO_IDL/include/ast_module.h
@@ -87,17 +87,17 @@ public:
AST_Module (UTL_ScopedName *n, AST_Module *prev = 0);
// Destructor.
- virtual ~AST_Module (void);
+ virtual ~AST_Module ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Involved in OBV_ namespace generation.
- void set_has_nested_valuetype (void);
- bool has_nested_valuetype (void);
+ void set_has_nested_valuetype ();
+ bool has_nested_valuetype ();
// Allows adding an interface at a later point.
// The interface i is inserted after interface ix, if
@@ -131,11 +131,11 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Accessors for the member.
- AST_Template_Module_Inst *from_inst (void) const;
+ AST_Template_Module_Inst *from_inst () const;
void from_inst (AST_Template_Module_Inst *node);
// Accessors for the member.
- AST_Template_Module_Ref *from_ref (void) const;
+ AST_Template_Module_Ref *from_ref () const;
void from_ref (AST_Template_Module_Ref *node);
// Override that looks in previous openings.
@@ -234,7 +234,7 @@ public:
// (called by AST_Root::destroy on the CORBA module containing
// the basic types, since it isn't destroyed between processing
// multiple IDL files.
- void reset_last_in_same_parent_scope (void);
+ void reset_last_in_same_parent_scope ();
virtual bool annotatable () const { return true; }
diff --git a/TAO/TAO_IDL/include/ast_native.h b/TAO/TAO_IDL/include/ast_native.h
index 389f61f593f..2a56f19a152 100644
--- a/TAO/TAO_IDL/include/ast_native.h
+++ b/TAO/TAO_IDL/include/ast_native.h
@@ -15,10 +15,10 @@ class TAO_IDL_FE_Export AST_Native : public virtual AST_Exception
public:
AST_Native (UTL_ScopedName *n);
- virtual ~AST_Native (void);
+ virtual ~AST_Native ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_operation.h b/TAO/TAO_IDL/include/ast_operation.h
index 3c8d277cb60..008fcc4616f 100644
--- a/TAO/TAO_IDL/include/ast_operation.h
+++ b/TAO/TAO_IDL/include/ast_operation.h
@@ -90,28 +90,28 @@ public:
bool local,
bool abstract);
- virtual ~AST_Operation (void);
+ virtual ~AST_Operation ();
// Data Accessors.
- AST_Type *return_type (void);
+ AST_Type *return_type ();
- Flags flags (void);
+ Flags flags ();
- UTL_StrList *context (void);
+ UTL_StrList *context ();
- UTL_ExceptList *exceptions (void);
+ UTL_ExceptList *exceptions ();
// Public operations.
- bool void_return_type (void);
+ bool void_return_type ();
/// Returns 1 if the operation has a void return type.
/// Return the number of arguments
- virtual int argument_count (void);
+ virtual int argument_count ();
/// Return the flag indicating a request sends argument data
- virtual bool has_in_arguments (void);
+ virtual bool has_in_arguments ();
/// Count the number of arguments of a certain type.
/**
@@ -125,7 +125,7 @@ public:
*/
int count_arguments_with_direction (int direction_mask);
- virtual int has_native (void);
+ virtual int has_native ();
// Any of the arguments or the return value is a <native> type.
// This is important because in that case no code should be
// generated for the stubs.
@@ -134,7 +134,7 @@ public:
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
@@ -172,12 +172,12 @@ protected:
// Operations.
- int compute_argument_attr (void);
+ int compute_argument_attr ();
// Count the number of arguments.
// Scope Management Protocol.
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
virtual AST_Argument *fe_add_argument (AST_Argument *a);
virtual UTL_StrList *fe_add_context (UTL_StrList *c);
virtual UTL_NameList *fe_add_exceptions (UTL_NameList *e);
diff --git a/TAO/TAO_IDL/include/ast_param_holder.h b/TAO/TAO_IDL/include/ast_param_holder.h
index abd5ad403b1..17f4d66f41b 100644
--- a/TAO/TAO_IDL/include/ast_param_holder.h
+++ b/TAO/TAO_IDL/include/ast_param_holder.h
@@ -13,15 +13,15 @@ public:
AST_Param_Holder (UTL_ScopedName *parameter_name,
FE_Utils::T_Param_Info *info);
- virtual ~AST_Param_Holder (void);
+ virtual ~AST_Param_Holder ();
- FE_Utils::T_Param_Info const *info (void) const;
+ FE_Utils::T_Param_Info const *info () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
diff --git a/TAO/TAO_IDL/include/ast_porttype.h b/TAO/TAO_IDL/include/ast_porttype.h
index aa98a84ee2a..20b0e92ea26 100644
--- a/TAO/TAO_IDL/include/ast_porttype.h
+++ b/TAO/TAO_IDL/include/ast_porttype.h
@@ -18,10 +18,10 @@ class TAO_IDL_FE_Export AST_PortType
public:
AST_PortType (UTL_ScopedName *n);
- virtual ~AST_PortType (void);
+ virtual ~AST_PortType ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_predefined_type.h b/TAO/TAO_IDL/include/ast_predefined_type.h
index 7e621aa8088..3969936f4ce 100644
--- a/TAO/TAO_IDL/include/ast_predefined_type.h
+++ b/TAO/TAO_IDL/include/ast_predefined_type.h
@@ -100,10 +100,10 @@ public:
AST_PredefinedType (PredefinedType t,
UTL_ScopedName *n);
- virtual ~AST_PredefinedType (void);
+ virtual ~AST_PredefinedType ();
// Data Accessors.
- PredefinedType pt (void);
+ PredefinedType pt ();
// AST Dumping
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -112,12 +112,12 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
protected:
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Compute the size type if it is unknown.
private:
diff --git a/TAO/TAO_IDL/include/ast_provides.h b/TAO/TAO_IDL/include/ast_provides.h
index bb01a45d6b1..3d5b3f5c52b 100644
--- a/TAO/TAO_IDL/include/ast_provides.h
+++ b/TAO/TAO_IDL/include/ast_provides.h
@@ -10,10 +10,10 @@ public:
AST_Provides (UTL_ScopedName *n,
AST_Type *provides_type);
- virtual ~AST_Provides (void);
+ virtual ~AST_Provides ();
// Data Accessor.
- AST_Type *provides_type (void) const;
+ AST_Type *provides_type () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -22,7 +22,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_publishes.h b/TAO/TAO_IDL/include/ast_publishes.h
index b1ac2051e36..96295e30067 100644
--- a/TAO/TAO_IDL/include/ast_publishes.h
+++ b/TAO/TAO_IDL/include/ast_publishes.h
@@ -12,10 +12,10 @@ public:
AST_Publishes (UTL_ScopedName *n,
AST_Type *publishes_type);
- virtual ~AST_Publishes (void);
+ virtual ~AST_Publishes ();
// Data Accessor.
- AST_Type *publishes_type (void) const;
+ AST_Type *publishes_type () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -24,7 +24,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
};
diff --git a/TAO/TAO_IDL/include/ast_root.h b/TAO/TAO_IDL/include/ast_root.h
index e3750e20934..8c3b50d01f1 100644
--- a/TAO/TAO_IDL/include/ast_root.h
+++ b/TAO/TAO_IDL/include/ast_root.h
@@ -75,9 +75,9 @@ class TAO_IDL_FE_Export AST_Root : public virtual AST_Module
public:
AST_Root (UTL_ScopedName *n);
- virtual ~AST_Root (void);
+ virtual ~AST_Root ();
- virtual unsigned long nmembers (void);
+ virtual unsigned long nmembers ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -89,13 +89,13 @@ public:
virtual void destroy ();
// Final cleanup.
- void fini (void);
+ void fini ();
static AST_Decl::NodeType const NT;
private:
friend class FE_Declarator;
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
// Add protocol.
diff --git a/TAO/TAO_IDL/include/ast_sequence.h b/TAO/TAO_IDL/include/ast_sequence.h
index e165bd03ed6..d1f1d94abda 100644
--- a/TAO/TAO_IDL/include/ast_sequence.h
+++ b/TAO/TAO_IDL/include/ast_sequence.h
@@ -81,30 +81,30 @@ public:
bool local,
bool abstract);
- virtual ~AST_Sequence (void);
+ virtual ~AST_Sequence ();
virtual bool in_recursion (ACE_Unbounded_Queue<AST_Type *> &list);
// Are we or the node represented by node involved in recursion.
// Data Accessors.
- AST_Expression *max_size (void);
+ AST_Expression *max_size ();
- AST_Type *base_type (void) const;
+ AST_Type *base_type () const;
- virtual bool unbounded (void) const;
+ virtual bool unbounded () const;
// Is this sequence bounded or not.
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Is the element type a forward declared struct or union
// that hasn't yet been fully defined?
- virtual bool is_defined (void);
+ virtual bool is_defined ();
// Cleanup method.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/ast_string.h b/TAO/TAO_IDL/include/ast_string.h
index 75ea44326e1..71ad8c1e935 100644
--- a/TAO/TAO_IDL/include/ast_string.h
+++ b/TAO/TAO_IDL/include/ast_string.h
@@ -82,11 +82,11 @@ public:
AST_Expression *max_size,
long wide = 1);
- virtual ~AST_String (void);
+ virtual ~AST_String ();
// Data Accessors.
- AST_Expression *max_size (void);
- long width (void);
+ AST_Expression *max_size ();
+ long width ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -95,7 +95,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_structure.h b/TAO/TAO_IDL/include/ast_structure.h
index 48d4341e6a4..15eb9c2dd65 100644
--- a/TAO/TAO_IDL/include/ast_structure.h
+++ b/TAO/TAO_IDL/include/ast_structure.h
@@ -94,7 +94,7 @@ public:
bool local,
bool abstract);
- virtual ~AST_Structure (void);
+ virtual ~AST_Structure ();
// This serves for both structs and unions.
static void fwd_redefinition_helper (AST_Structure *&i,
@@ -103,50 +103,50 @@ public:
// Overridden for unions.
virtual void redefine (AST_Structure *from);
- virtual int member_count (void);
+ virtual int member_count ();
// Return the count of members.
- virtual ACE_CDR::ULong nfields (void) const;
+ virtual ACE_CDR::ULong nfields () const;
// Return the count of actual fields.
virtual int field (AST_Field **&result,
ACE_CDR::ULong slot) const;
// Get an individual field node.
- virtual bool is_local (void);
+ virtual bool is_local ();
// Overwrite the is_local method.
virtual bool in_recursion (ACE_Unbounded_Queue<AST_Type *> &list);
// Are we or the node represented by node involved in recursion.
- virtual int contains_wstring (void);
+ virtual int contains_wstring ();
// Do we contain a wstring at some nesting level?
// Is this struct or union defined? This predicate returns FALSE when a
// forward declaration is not defined yet, and TRUE in
// all other cases.
- virtual bool is_defined (void);
+ virtual bool is_defined ();
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Accessors for the member.
- AST_StructureFwd *fwd_decl (void) const;
+ AST_StructureFwd *fwd_decl () const;
void fwd_decl (AST_StructureFwd *node);
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
// Accessor for the member.
- ACE_Unbounded_Queue<AST_Field *> &fields (void);
+ ACE_Unbounded_Queue<AST_Field *> &fields ();
static AST_Decl::NodeType const NT;
@@ -161,7 +161,7 @@ public:
///}
protected:
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
// Scope Management Protocol.
virtual AST_Union *fe_add_union (AST_Union *u);
@@ -172,7 +172,7 @@ protected:
virtual AST_EnumVal *fe_add_enum_val (AST_EnumVal *v);
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Compute the size type if it is unknown.
ACE_Unbounded_Queue<AST_Field *> fields_;
@@ -181,7 +181,7 @@ protected:
// the struct.
private:
- int compute_member_count (void);
+ int compute_member_count ();
// Count the number of members.
int member_count_;
diff --git a/TAO/TAO_IDL/include/ast_structure_fwd.h b/TAO/TAO_IDL/include/ast_structure_fwd.h
index 0e610192ea7..f459c558505 100644
--- a/TAO/TAO_IDL/include/ast_structure_fwd.h
+++ b/TAO/TAO_IDL/include/ast_structure_fwd.h
@@ -13,16 +13,16 @@ public:
AST_StructureFwd (AST_Structure *full_defn,
UTL_ScopedName *n);
- virtual ~AST_StructureFwd (void);
+ virtual ~AST_StructureFwd ();
- AST_Structure *full_definition (void);
+ AST_Structure *full_definition ();
void set_full_definition (AST_Structure *nfd);
- virtual bool is_defined (void);
- void set_as_defined (void);
+ virtual bool is_defined ();
+ void set_as_defined ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
@@ -31,7 +31,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Is this decl a forward declared type (Yes)
- virtual bool is_fwd (void);
+ virtual bool is_fwd ();
// We don't actually want the forward declaration,
// but want to return the full definition member,
diff --git a/TAO/TAO_IDL/include/ast_template_module.h b/TAO/TAO_IDL/include/ast_template_module.h
index 2908afed679..5f1e5d4e8f2 100644
--- a/TAO/TAO_IDL/include/ast_template_module.h
+++ b/TAO/TAO_IDL/include/ast_template_module.h
@@ -15,10 +15,10 @@ public:
AST_Template_Module (UTL_ScopedName *n,
FE_Utils::T_PARAMLIST_INFO *template_params);
- virtual ~AST_Template_Module (void);
+ virtual ~AST_Template_Module ();
FE_Utils::T_PARAMLIST_INFO *
- template_params (void) const;
+ template_params () const;
// Checks for errors in the template args of an instantiation.
bool match_arg_names (FE_Utils::T_ARGLIST *args);
@@ -30,7 +30,7 @@ public:
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
diff --git a/TAO/TAO_IDL/include/ast_template_module_inst.h b/TAO/TAO_IDL/include/ast_template_module_inst.h
index 5adb0e898f2..d56fc150dc1 100644
--- a/TAO/TAO_IDL/include/ast_template_module_inst.h
+++ b/TAO/TAO_IDL/include/ast_template_module_inst.h
@@ -15,18 +15,18 @@ public:
AST_Template_Module *ref,
FE_Utils::T_ARGLIST *template_args);
- virtual ~AST_Template_Module_Inst (void);
+ virtual ~AST_Template_Module_Inst ();
- AST_Template_Module *ref (void) const;
+ AST_Template_Module *ref () const;
FE_Utils::T_ARGLIST const *
- template_args (void) const;
+ template_args () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
diff --git a/TAO/TAO_IDL/include/ast_template_module_ref.h b/TAO/TAO_IDL/include/ast_template_module_ref.h
index 30a5b0ee81b..7273bc0e381 100644
--- a/TAO/TAO_IDL/include/ast_template_module_ref.h
+++ b/TAO/TAO_IDL/include/ast_template_module_ref.h
@@ -15,17 +15,17 @@ public:
AST_Template_Module *ref,
UTL_StrList *param_refs);
- virtual ~AST_Template_Module_Ref (void);
+ virtual ~AST_Template_Module_Ref ();
- AST_Template_Module *ref (void) const;
+ AST_Template_Module *ref () const;
- UTL_StrList *param_refs (void) const;
+ UTL_StrList *param_refs () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
@@ -39,7 +39,7 @@ public:
virtual AST_Decl *adjust_found (bool ignore_fwd, bool full_def_only);
/// Accessors for the member.
- bool processed (void) const;
+ bool processed () const;
void processed (bool val);
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_type.h b/TAO/TAO_IDL/include/ast_type.h
index 9b10b6a2821..5cda580cf1c 100644
--- a/TAO/TAO_IDL/include/ast_type.h
+++ b/TAO/TAO_IDL/include/ast_type.h
@@ -90,7 +90,7 @@ public:
AST_Type (AST_Decl::NodeType nt,
UTL_ScopedName *n);
- virtual ~AST_Type (void);
+ virtual ~AST_Type ();
virtual bool in_recursion (ACE_Unbounded_Queue<AST_Type *> &list);
// Determine if we are involved in some kind of limited recursion.
@@ -101,21 +101,21 @@ public:
virtual void size_type (SIZE_TYPE);
// Set the size type.
- virtual SIZE_TYPE size_type (void);
+ virtual SIZE_TYPE size_type ();
// Return our size type.
// Accessors/mutators for the private members.
- bool has_constructor (void);
+ bool has_constructor ();
// Accessor for protected member.
void has_constructor (bool value);
// Mutator for protected member.
- bool ifr_added (void);
+ bool ifr_added ();
void ifr_added (bool val);
- bool ifr_fwd_added (void);
+ bool ifr_fwd_added ();
void ifr_fwd_added (bool val);
const char *nested_type_name (AST_Decl *d,
@@ -123,10 +123,10 @@ public:
const char *prefix = 0);
// Type name of a node used when generating declarations.
- AST_Type *unaliased_type (void);
+ AST_Type *unaliased_type ();
// Utility function to make sure we are using the unaliased type.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
@@ -135,10 +135,10 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
protected:
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Determine our size type and set it if it is unknown.
const char *nested_name (const char *local_name,
diff --git a/TAO/TAO_IDL/include/ast_typedef.h b/TAO/TAO_IDL/include/ast_typedef.h
index cd3d776165c..b1181cb18e8 100644
--- a/TAO/TAO_IDL/include/ast_typedef.h
+++ b/TAO/TAO_IDL/include/ast_typedef.h
@@ -81,24 +81,24 @@ public:
bool local,
bool abstract);
- virtual ~AST_Typedef (void);
+ virtual ~AST_Typedef ();
- AST_Type *primitive_base_type (void) const;
+ AST_Type *primitive_base_type () const;
// Return the most primitive base type by traversing the chain of typedefed
// base types.
// Data Accessors.
- AST_Type *base_type (void) const;
+ AST_Type *base_type () const;
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool is_local (void);
+ virtual bool is_local ();
// Override the base class method.
- bool owns_base_type (void) const;
+ bool owns_base_type () const;
void owns_base_type (bool val);
// Sometimes this has to be accessed or managed from outside.
@@ -109,7 +109,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
@@ -121,7 +121,7 @@ public:
virtual AST_Annotation_Appls &annotations ();
protected:
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Compute the size type if it is unknown.
/**
diff --git a/TAO/TAO_IDL/include/ast_union.h b/TAO/TAO_IDL/include/ast_union.h
index 4815d0736d8..dafa8e704de 100644
--- a/TAO/TAO_IDL/include/ast_union.h
+++ b/TAO/TAO_IDL/include/ast_union.h
@@ -84,7 +84,7 @@ public:
bool local,
bool abstract);
- virtual ~AST_Union (void);
+ virtual ~AST_Union ();
// This also calls the base class version.
virtual void redefine (AST_Structure *from);
@@ -94,9 +94,9 @@ public:
// Data Accessors.
- AST_ConcreteType *disc_type (void);
+ AST_ConcreteType *disc_type ();
- AST_Expression::ExprType udisc_type (void);
+ AST_Expression::ExprType udisc_type ();
struct DefaultValue
{
@@ -123,7 +123,7 @@ public:
int default_value (DefaultValue &);
// Get the default value.
- virtual int default_index (void);
+ virtual int default_index ();
// Return the default index used.
// AST Dumping.
@@ -143,7 +143,7 @@ public:
///}
protected:
- virtual int compute_size_type (void);
+ virtual int compute_size_type ();
// Compute the size type if it is unknown.
virtual AST_UnionBranch *fe_add_union_branch (AST_UnionBranch *b);
@@ -165,7 +165,7 @@ private:
AST_UnionBranch *lookup_branch (AST_UnionBranch *branch);
// Look up the branch with the "default" label.
- AST_UnionBranch *lookup_default (void);
+ AST_UnionBranch *lookup_default ();
// Look up a branch given a branch with a label. This is used to
// check for duplicate labels.
@@ -175,7 +175,7 @@ private:
// check for duplicate enum labels.
AST_UnionBranch *lookup_enum (AST_UnionBranch *b);
- friend int tao_yyparse (void);
+ friend int tao_yyparse ();
friend class ast_visitor_tmpl_module_inst;
// Scope Management Protocol.
@@ -188,10 +188,10 @@ private:
virtual AST_EnumVal *fe_add_enum_val (AST_EnumVal *v);
- virtual int compute_default_value (void);
+ virtual int compute_default_value ();
// Compute the default value (if any).
- int compute_default_index (void);
+ int compute_default_index ();
// Count the default index.
DefaultValue default_value_;
diff --git a/TAO/TAO_IDL/include/ast_union_branch.h b/TAO/TAO_IDL/include/ast_union_branch.h
index e1427765f7c..988b06811da 100644
--- a/TAO/TAO_IDL/include/ast_union_branch.h
+++ b/TAO/TAO_IDL/include/ast_union_branch.h
@@ -84,13 +84,13 @@ public:
AST_Type *ft,
UTL_ScopedName *n);
- virtual ~AST_UnionBranch (void);
+ virtual ~AST_UnionBranch ();
- UTL_LabelList *labels (void) const;
+ UTL_LabelList *labels () const;
AST_UnionLabel *label (unsigned long index = 0);
- unsigned long label_list_length (void);
+ unsigned long label_list_length ();
// Called if our labels are enum values - adds them to the
// enclosing scope's name_referenced list.
@@ -110,7 +110,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_union_fwd.h b/TAO/TAO_IDL/include/ast_union_fwd.h
index 65dc9013a93..14a6121d7e3 100644
--- a/TAO/TAO_IDL/include/ast_union_fwd.h
+++ b/TAO/TAO_IDL/include/ast_union_fwd.h
@@ -14,10 +14,10 @@ public:
AST_UnionFwd (AST_Union *dummy,
UTL_ScopedName *n);
- virtual ~AST_UnionFwd (void);
+ virtual ~AST_UnionFwd ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
diff --git a/TAO/TAO_IDL/include/ast_union_label.h b/TAO/TAO_IDL/include/ast_union_label.h
index 87f66e08704..28c5e0275f2 100644
--- a/TAO/TAO_IDL/include/ast_union_label.h
+++ b/TAO/TAO_IDL/include/ast_union_label.h
@@ -87,11 +87,11 @@ public:
AST_UnionLabel (UnionLabel lk,
AST_Expression *lv);
- virtual ~AST_UnionLabel (void);
+ virtual ~AST_UnionLabel ();
- UnionLabel label_kind (void);
+ UnionLabel label_kind ();
- AST_Expression *label_val (void);
+ AST_Expression *label_val ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -100,7 +100,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
// Data.
diff --git a/TAO/TAO_IDL/include/ast_uses.h b/TAO/TAO_IDL/include/ast_uses.h
index f34d66d4ec5..9da57a5327f 100644
--- a/TAO/TAO_IDL/include/ast_uses.h
+++ b/TAO/TAO_IDL/include/ast_uses.h
@@ -11,11 +11,11 @@ public:
AST_Type *uses_type,
bool is_multiple);
- virtual ~AST_Uses (void);
+ virtual ~AST_Uses ();
// Data Accessors.
- AST_Type *uses_type (void) const;
- bool is_multiple (void) const;
+ AST_Type *uses_type () const;
+ bool is_multiple () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -24,7 +24,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_valuebox.h b/TAO/TAO_IDL/include/ast_valuebox.h
index 40e5cc87c50..4ea5ec52eb5 100644
--- a/TAO/TAO_IDL/include/ast_valuebox.h
+++ b/TAO/TAO_IDL/include/ast_valuebox.h
@@ -10,10 +10,10 @@ public:
AST_ValueBox (UTL_ScopedName *n,
AST_Type *boxed_type);
- virtual ~AST_ValueBox (void);
+ virtual ~AST_ValueBox ();
// Data Accessors.
- AST_Type *boxed_type (void) const;
+ AST_Type *boxed_type () const;
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -22,7 +22,7 @@ public:
virtual int ast_accept (ast_visitor *visitor);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
static AST_Decl::NodeType const NT;
diff --git a/TAO/TAO_IDL/include/ast_valuetype.h b/TAO/TAO_IDL/include/ast_valuetype.h
index 4f5583e41b3..9309da49809 100644
--- a/TAO/TAO_IDL/include/ast_valuetype.h
+++ b/TAO/TAO_IDL/include/ast_valuetype.h
@@ -21,7 +21,7 @@ public:
bool truncatable,
bool custom);
- virtual ~AST_ValueType (void);
+ virtual ~AST_ValueType ();
virtual bool in_recursion (ACE_Unbounded_Queue<AST_Type *> &list);
// Are we or the node represented by node involved in recursion.
@@ -29,18 +29,18 @@ public:
// This also calls the base class version.
virtual void redefine (AST_Interface *from);
- AST_Type **supports (void) const;
+ AST_Type **supports () const;
- long n_supports (void) const;
+ long n_supports () const;
- AST_Type *inherits_concrete (void) const;
+ AST_Type *inherits_concrete () const;
- AST_Type *supports_concrete (void) const;
+ AST_Type *supports_concrete () const;
- bool truncatable (void) const;
- bool custom (void) const;
+ bool truncatable () const;
+ bool custom () const;
- virtual bool will_have_factory (void);
+ virtual bool will_have_factory ();
// Called from y.tab.cpp to set the factory decl seen bit.
// Look up a scoped name in the supported interface list.
@@ -55,10 +55,10 @@ public:
// Recursively called on valuetype to check for legal use as
// a primary key. Overridden for valuetype, struct, sequence,
// union, array, typedef, and interface.
- virtual bool legal_for_primary_key (void) const;
+ virtual bool legal_for_primary_key () const;
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
@@ -84,7 +84,7 @@ protected:
bool derived_from_primary_key_base (const AST_ValueType *node,
const AST_ValueType *pk_base) const;
- AST_ValueType *lookup_primary_key_base (void) const;
+ AST_ValueType *lookup_primary_key_base () const;
};
#endif // _AST_INTERFACE_AST_VALUETYPE_HH
diff --git a/TAO/TAO_IDL/include/ast_valuetype_fwd.h b/TAO/TAO_IDL/include/ast_valuetype_fwd.h
index 736271cc50c..6e9e9ce38b4 100644
--- a/TAO/TAO_IDL/include/ast_valuetype_fwd.h
+++ b/TAO/TAO_IDL/include/ast_valuetype_fwd.h
@@ -12,10 +12,10 @@ public:
AST_ValueTypeFwd (AST_Interface *dummy,
UTL_ScopedName *n);
- virtual ~AST_ValueTypeFwd (void);
+ virtual ~AST_ValueTypeFwd ();
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &);
diff --git a/TAO/TAO_IDL/include/ast_visitor.h b/TAO/TAO_IDL/include/ast_visitor.h
index 3a45c23a461..70c4fc73f7e 100644
--- a/TAO/TAO_IDL/include/ast_visitor.h
+++ b/TAO/TAO_IDL/include/ast_visitor.h
@@ -85,7 +85,7 @@ class AST_Annotation_Decl;
class TAO_IDL_FE_Export ast_visitor
{
public:
- virtual ~ast_visitor (void);
+ virtual ~ast_visitor ();
virtual int visit_decl (AST_Decl *d) = 0;
virtual int visit_scope (UTL_Scope *node) = 0;
@@ -143,7 +143,7 @@ public:
protected:
// For abstract class.
- ast_visitor (void);
+ ast_visitor ();
};
#endif /* TAO_IDL_FE_DLL_AST_VISITOR_H */
diff --git a/TAO/TAO_IDL/include/ast_visitor_context.h b/TAO/TAO_IDL/include/ast_visitor_context.h
index 2c8ddd419db..7890633316a 100644
--- a/TAO/TAO_IDL/include/ast_visitor_context.h
+++ b/TAO/TAO_IDL/include/ast_visitor_context.h
@@ -23,18 +23,18 @@
class TAO_IDL_FE_Export ast_visitor_context
{
public:
- ast_visitor_context (void);
+ ast_visitor_context ();
ast_visitor_context (const ast_visitor_context &ctx);
- ~ast_visitor_context (void);
+ ~ast_visitor_context ();
// Accessors/mutators for template-related storage.
- FE_Utils::T_PARAMLIST_INFO *template_params (void) const;
+ FE_Utils::T_PARAMLIST_INFO *template_params () const;
void template_params (FE_Utils::T_PARAMLIST_INFO *args);
- FE_Utils::T_ARGLIST const *template_args (void) const;
+ FE_Utils::T_ARGLIST const *template_args () const;
void template_args (FE_Utils::T_ARGLIST const *args);
protected:
diff --git a/TAO/TAO_IDL/include/ast_visitor_reifying.h b/TAO/TAO_IDL/include/ast_visitor_reifying.h
index 2ad0fdceea1..6c7c5ef2981 100644
--- a/TAO/TAO_IDL/include/ast_visitor_reifying.h
+++ b/TAO/TAO_IDL/include/ast_visitor_reifying.h
@@ -42,9 +42,9 @@ class ast_visitor_reifying : public ast_visitor
public:
ast_visitor_reifying (ast_visitor_context *ctx);
- virtual ~ast_visitor_reifying (void);
+ virtual ~ast_visitor_reifying ();
- AST_Decl *reified_node (void) const;
+ AST_Decl *reified_node () const;
virtual int visit_decl (AST_Decl *d);
virtual int visit_scope (UTL_Scope *node);
diff --git a/TAO/TAO_IDL/include/ast_visitor_tmpl_module_inst.h b/TAO/TAO_IDL/include/ast_visitor_tmpl_module_inst.h
index c9270d73a14..1a0dafdd241 100644
--- a/TAO/TAO_IDL/include/ast_visitor_tmpl_module_inst.h
+++ b/TAO/TAO_IDL/include/ast_visitor_tmpl_module_inst.h
@@ -38,7 +38,7 @@ public:
ast_visitor_tmpl_module_inst (ast_visitor_context *ctx,
bool ref_only = false);
- virtual ~ast_visitor_tmpl_module_inst (void);
+ virtual ~ast_visitor_tmpl_module_inst ();
virtual int visit_decl (AST_Decl *d);
virtual int visit_scope (UTL_Scope *node);
diff --git a/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h b/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
index 4b45f2a5abf..9ac63d648f9 100644
--- a/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
+++ b/TAO/TAO_IDL/include/ast_visitor_tmpl_module_ref.h
@@ -29,7 +29,7 @@ class ast_visitor_tmpl_module_ref
public:
ast_visitor_tmpl_module_ref (ast_visitor_context *ctx);
- virtual ~ast_visitor_tmpl_module_ref (void);
+ virtual ~ast_visitor_tmpl_module_ref ();
virtual int visit_template_module_ref (AST_Template_Module_Ref *node);
};
diff --git a/TAO/TAO_IDL/include/drv_extern.h b/TAO/TAO_IDL/include/drv_extern.h
index 757d14db7e1..03a543b161f 100644
--- a/TAO/TAO_IDL/include/drv_extern.h
+++ b/TAO/TAO_IDL/include/drv_extern.h
@@ -67,17 +67,17 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
// External functions for the IDL compiler driver program.
extern void DRV_parse_args (long, char **);
-extern void DRV_usage (void);
+extern void DRV_usage ();
extern void DRV_pre_proc (char const * myfile);
-extern void DRV_store_env_include_paths (void);
-extern void DRV_cpp_init (void);
+extern void DRV_store_env_include_paths ();
+extern void DRV_cpp_init ();
extern ACE_CString& DRV_add_include_path (ACE_CString&,
const char* p, const char* suffix,
bool is_system);
-extern void DRV_cpp_post_init (void);
+extern void DRV_cpp_post_init ();
extern void DRV_cpp_putarg (char const * str);
extern void DRV_cpp_new_location (char const * new_loc);
-extern void DRV_get_orb_idl_includes (void);
+extern void DRV_get_orb_idl_includes ();
// Not used by all backends.
extern void DRV_push_file (char const * s);
diff --git a/TAO/TAO_IDL/include/fe_component_header.h b/TAO/TAO_IDL/include/fe_component_header.h
index 4e14c6426d4..55280e7ade4 100644
--- a/TAO/TAO_IDL/include/fe_component_header.h
+++ b/TAO/TAO_IDL/include/fe_component_header.h
@@ -20,14 +20,14 @@ public:
UTL_ScopedName *base_component,
UTL_NameList *supports,
bool compile_now);
- virtual ~FE_ComponentHeader (void);
+ virtual ~FE_ComponentHeader ();
// Data Accessors.
- AST_Component *base_component (void) const;
- AST_Type **supports (void) const;
- long n_supports (void) const;
- AST_Interface **supports_flat (void) const;
- long n_supports_flat (void) const;
+ AST_Component *base_component () const;
+ AST_Type **supports () const;
+ long n_supports () const;
+ AST_Interface **supports_flat () const;
+ long n_supports_flat () const;
protected:
void compile_inheritance (UTL_ScopedName *base_component);
diff --git a/TAO/TAO_IDL/include/fe_declarator.h b/TAO/TAO_IDL/include/fe_declarator.h
index d55d8c3a735..98f5ce06a95 100644
--- a/TAO/TAO_IDL/include/fe_declarator.h
+++ b/TAO/TAO_IDL/include/fe_declarator.h
@@ -86,19 +86,19 @@ public:
FE_Declarator (UTL_ScopedName *n,
DeclaratorType dt,
AST_Decl *cp);
- virtual ~FE_Declarator (void) {}
+ virtual ~FE_Declarator () {}
// Data Accessors.
- AST_Decl *complex_part (void);
- UTL_ScopedName *name (void);
- DeclaratorType decl_type (void);
+ AST_Decl *complex_part ();
+ UTL_ScopedName *name ();
+ DeclaratorType decl_type ();
// Other Operations.
// Compose an FE_Declarator into an AST_Type once all the needed information
// is available.
AST_Type *compose (AST_Decl* tc);
- virtual void destroy (void);
+ virtual void destroy ();
private:
// Data.
diff --git a/TAO/TAO_IDL/include/fe_extern.h b/TAO/TAO_IDL/include/fe_extern.h
index 47f95a109c5..206f1ed679e 100644
--- a/TAO/TAO_IDL/include/fe_extern.h
+++ b/TAO/TAO_IDL/include/fe_extern.h
@@ -71,15 +71,15 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
// Declares all global functions for the FE
-TAO_IDL_FE_Export void FE_init (void);
-TAO_IDL_FE_Export void FE_populate (void);
+TAO_IDL_FE_Export void FE_init ();
+TAO_IDL_FE_Export void FE_populate ();
TAO_IDL_FE_Export void FE_extract_env_include_paths (ACE_Unbounded_Queue<ACE_CString> &list);
-TAO_IDL_FE_Export void FE_store_env_include_paths (void);
-TAO_IDL_FE_Export const char *FE_get_cpp_loc_from_env (void);
-TAO_IDL_FE_Export const char *FE_get_cpp_args_from_env (void);
+TAO_IDL_FE_Export void FE_store_env_include_paths ();
+TAO_IDL_FE_Export const char *FE_get_cpp_loc_from_env ();
+TAO_IDL_FE_Export const char *FE_get_cpp_args_from_env ();
TAO_IDL_FE_Export int
-FE_yyparse (void);
+FE_yyparse ();
TAO_IDL_FE_Export void
FE_yydebug (bool);
@@ -97,10 +97,10 @@ class UTL_Error;
class UTL_Indenter;
TAO_IDL_FE_Export UTL_Error *
-FE_new_UTL_Error (void);
+FE_new_UTL_Error ();
TAO_IDL_FE_Export UTL_Indenter *
-FE_new_UTL_Indenter (void);
+FE_new_UTL_Indenter ();
/**
* Exception thrown when exiting prematurely in the front end.
diff --git a/TAO/TAO_IDL/include/fe_home_header.h b/TAO/TAO_IDL/include/fe_home_header.h
index 7583a75a398..ae13bc609cc 100644
--- a/TAO/TAO_IDL/include/fe_home_header.h
+++ b/TAO/TAO_IDL/include/fe_home_header.h
@@ -23,12 +23,12 @@ public:
UTL_ScopedName *managed_component,
UTL_ScopedName *primary_key);
- virtual ~FE_HomeHeader (void);
+ virtual ~FE_HomeHeader ();
// Data Accessors.
- AST_Home *base_home (void) const;
- AST_Component *managed_component (void) const;
- AST_Type *primary_key (void) const;
+ AST_Home *base_home () const;
+ AST_Component *managed_component () const;
+ AST_Type *primary_key () const;
protected:
AST_Home *base_home_;
diff --git a/TAO/TAO_IDL/include/fe_interface_header.h b/TAO/TAO_IDL/include/fe_interface_header.h
index 243e5dda333..55394c44e90 100644
--- a/TAO/TAO_IDL/include/fe_interface_header.h
+++ b/TAO/TAO_IDL/include/fe_interface_header.h
@@ -84,22 +84,22 @@ public:
bool is_abstract,
bool compile_now);
- virtual ~FE_InterfaceHeader (void);
+ virtual ~FE_InterfaceHeader ();
// Data Accessors.
- UTL_ScopedName *name (void) const;
- AST_Type **inherits (void) const;
- long n_inherits (void) const;
- AST_Interface **inherits_flat (void) const;
- long n_inherits_flat (void) const;
+ UTL_ScopedName *name () const;
+ AST_Type **inherits () const;
+ long n_inherits () const;
+ AST_Interface **inherits_flat () const;
+ long n_inherits_flat () const;
- bool is_local (void) const;
+ bool is_local () const;
// See if we are a local interface.
- bool is_abstract (void) const;
+ bool is_abstract () const;
// See if we are an abstract interface.
- virtual void destroy (void);
+ virtual void destroy ();
// Destroy anything allocated for this class.
// Operations.
@@ -121,9 +121,9 @@ protected:
bool already_seen (AST_Type *ip);
bool already_seen_flat (AST_Interface *ip);
- void install_in_header (void);
+ void install_in_header ();
- void destroy_flat_arrays (void);
+ void destroy_flat_arrays ();
// Data.
protected:
diff --git a/TAO/TAO_IDL/include/fe_obv_header.h b/TAO/TAO_IDL/include/fe_obv_header.h
index 0a25d4310c1..0dc51b91176 100644
--- a/TAO/TAO_IDL/include/fe_obv_header.h
+++ b/TAO/TAO_IDL/include/fe_obv_header.h
@@ -18,16 +18,16 @@ public:
UTL_NameList *supports,
bool truncatable,
bool is_eventtype = false);
- virtual ~FE_OBVHeader (void);
+ virtual ~FE_OBVHeader ();
// Data Accessors.
- AST_Type **supports (void) const;
- long n_supports (void) const;
- AST_Type *inherits_concrete (void) const;
- AST_Type *supports_concrete (void) const;
- bool truncatable (void) const;
+ AST_Type **supports () const;
+ long n_supports () const;
+ AST_Type *inherits_concrete () const;
+ AST_Type *supports_concrete () const;
+ bool truncatable () const;
- virtual void destroy (void);
+ virtual void destroy ();
// Destroy anything allocated for this class.
protected:
diff --git a/TAO/TAO_IDL/include/fe_utils.h b/TAO/TAO_IDL/include/fe_utils.h
index 6cf66a62418..fddc6e5202d 100644
--- a/TAO/TAO_IDL/include/fe_utils.h
+++ b/TAO/TAO_IDL/include/fe_utils.h
@@ -27,7 +27,7 @@ struct TAO_IDL_FE_Export FE_Utils
ACE_CString name_;
ACE_CString seq_param_ref_;
- T_Param_Info (void);
+ T_Param_Info ();
};
typedef ACE_Unbounded_Queue<T_Param_Info> T_PARAMLIST_INFO;
@@ -36,7 +36,7 @@ struct TAO_IDL_FE_Export FE_Utils
struct T_ARGLIST : ACE_Unbounded_Queue<AST_Decl *>
{
- void destroy (void);
+ void destroy ();
};
/// Convert from a predefined type to an expression type.
@@ -68,7 +68,7 @@ struct TAO_IDL_FE_Export FE_Utils
/// For the executor IDL file, when a pragma ciao ami receptacle
/// name is multiplex.
static void
- create_implied_ami_uses_stuff (void);
+ create_implied_ami_uses_stuff ();
/// Case insensitive for Windows, otherwise not.
static int
@@ -97,7 +97,7 @@ struct TAO_IDL_FE_Export FE_Utils
/// Validate the included idl files, somefiles might have been
/// ignored by the preprocessor.
static void
- validate_included_idl_files (void);
+ validate_included_idl_files ();
/// Check if included file is in TAO specific include dirs.
static bool
diff --git a/TAO/TAO_IDL/include/idl_global.h b/TAO/TAO_IDL/include/idl_global.h
index d00dffdcbd8..485486a60dd 100644
--- a/TAO/TAO_IDL/include/idl_global.h
+++ b/TAO/TAO_IDL/include/idl_global.h
@@ -311,77 +311,77 @@ public:
UNKNOWN_ANNOTATIONS_IGNORE
};
- IDL_GlobalData (void);
- ~IDL_GlobalData (void);
+ IDL_GlobalData ();
+ ~IDL_GlobalData ();
// Operations
- UTL_ScopeStack &scopes (void); // Scopes stack
+ UTL_ScopeStack &scopes (); // Scopes stack
- AST_Root *root (void); // Root of AST
+ AST_Root *root (); // Root of AST
void set_root (AST_Root *); // Set it
- AST_Generator *gen (void); // Generator
+ AST_Generator *gen (); // Generator
void set_gen (AST_Generator *); // Set it
- AST_ValueType *primary_key_base (void); // PrimaryKeyBase
+ AST_ValueType *primary_key_base (); // PrimaryKeyBase
void primary_key_base (AST_ValueType *); // Set it
- UTL_Error *err (void); // Error reporter
+ UTL_Error *err (); // Error reporter
void set_err (UTL_Error *); // Set it
- int err_count (void); // How many errors?
+ int err_count (); // How many errors?
void set_err_count (int); // Set it
- long lineno (void); // Where in file?
+ long lineno (); // Where in file?
void set_lineno (long); // Set it
- UTL_String *filename (void); // What file?
+ UTL_String *filename (); // What file?
void set_filename (UTL_String *); // Set it
- UTL_String *main_filename (void); // What's the main
+ UTL_String *main_filename (); // What's the main
// file name?
void set_main_filename (UTL_String *);
// Set it
- UTL_String *real_filename (void); // What's the real
+ UTL_String *real_filename (); // What's the real
// file name?
void set_real_filename (UTL_String *);
// Set it
- UTL_String *stripped_filename (void); // Stripped filename
+ UTL_String *stripped_filename (); // Stripped filename
void set_stripped_filename (UTL_String *); // Set it
- bool imported (void); // Are we imported?
- bool import (void); // Is import on?
+ bool imported (); // Are we imported?
+ bool import (); // Is import on?
void set_import (bool); // Set it
- bool in_main_file (void); // Are we?
+ bool in_main_file (); // Are we?
void set_in_main_file (bool); // Set it
- const char *prog_name (void); // Invoked as..
+ const char *prog_name (); // Invoked as..
void set_prog_name (const char *); // Set it
- const char *cpp_location (void); // Where's CPP?
+ const char *cpp_location (); // Where's CPP?
void set_cpp_location (const char *);// Set it
- long compile_flags (void); // What flags are on?
+ long compile_flags (); // What flags are on?
void set_compile_flags (long); // Turn some on or off
- char *local_escapes (void); // Get local escapes
+ char *local_escapes (); // Get local escapes
void set_local_escapes (const char *);// Set it
- UTL_Indenter *indent (void); // Get indenter
+ UTL_Indenter *indent (); // Get indenter
void set_indent (UTL_Indenter *); // Set it
void store_include_file_name (UTL_String *);
- UTL_String **include_file_names (void); // Array of file names
+ UTL_String **include_file_names (); // Array of file names
void set_include_file_names (UTL_String **); // Set it
- unsigned long n_include_file_names (void); // How many
+ unsigned long n_include_file_names (); // How many
void set_n_include_file_names (unsigned long n);
- void reset_flag_seen (void);
+ void reset_flag_seen ();
// = Types & methods supporting DDS DCPS sequence definitions (from #pragma)
typedef ACE_Unbounded_Queue<char *> DCPS_Sequence_Types_List;
@@ -418,7 +418,7 @@ public:
void dcps_support_zero_copy_read (bool value);
// BE calls to check the status of zero-copy read support
- bool dcps_support_zero_copy_read (void) const;
+ bool dcps_support_zero_copy_read () const;
// FE calls when #pragma DCPS_DATA_SEQUENCE_TYPE is processed
void set_dcps_sequence_type (const char* seq_type);
@@ -430,7 +430,7 @@ public:
void dcps_gen_zero_copy_read (bool value);
// BE calls to check the status of zero-copy read support
- bool dcps_gen_zero_copy_read (void) const;
+ bool dcps_gen_zero_copy_read () const;
// = Access methods to deal with other IDL files included in the main
// IDL file. These IDL files are exactly the same strings that are
@@ -441,20 +441,20 @@ public:
void add_to_included_idl_files (const char *file_name);
// Get all the files.
- char** included_idl_files (void);
+ char** included_idl_files ();
// The number of currently availabe include files.
- size_t n_included_idl_files (void);
+ size_t n_included_idl_files ();
// Set the number of included_idl_files. Use this carefully. This
// method is used when we validate all the #included idl files,
// against the ones that we get after preprocessing.
void n_included_idl_files (size_t n);
- ParseState parse_state (void); // What state we're in
+ ParseState parse_state (); // What state we're in
void set_parse_state (ParseState s); // Set it
- UTL_String *idl_src_file (void);
+ UTL_String *idl_src_file ();
// Returns the IDL source file being compiled.
void idl_src_file (UTL_String *);
@@ -465,7 +465,7 @@ public:
// files. By default, IDL compiler looks for TEMP env variable and
// if it is not set, "/tmp/" is assigned.
- const char *temp_dir (void) const;
+ const char *temp_dir () const;
// Get the directory where the IDL compiler can keep all its temp
// files. By default, IDL compiler looks for TEMP env variable and
// if it is not set, "/tmp/" is assigned.
@@ -473,49 +473,49 @@ public:
void tao_root (const char *s);
// Set the path of TAO_ROOT.
- const char *tao_root (void) const;
+ const char *tao_root () const;
// Get the path for TAO_ROOT.
void gperf_path (const char *s);
// Set the path for the perfect hashing program (GPERF).
- const char *gperf_path (void) const;
+ const char *gperf_path () const;
// Get the path for the perfect hashing program (GPERF).
void ident_string (const char *s);
// Set the value of the #ident string.
- const char *ident_string (void) const;
+ const char *ident_string () const;
// Get the value of the #ident string.
void case_diff_error (bool);
// report an error (1) for indentifiers in the same scope
// that differ only by case, or report a warning (0).
- bool case_diff_error (void);
+ bool case_diff_error ();
// are we strict about case-only differences or not?
void nest_orb (bool);
// Set on or off whether we are using the NEST ORB.
- bool nest_orb (void);
+ bool nest_orb ();
// are we beIng used with the NEST ORB?
- void destroy (void);
+ void destroy ();
// Cleanup function.
void append_idl_flag (const char *s);
// Save each flag passed to the IDL compiler.
- const char *idl_flags (void) const;
+ const char *idl_flags () const;
// Get a string representation of the flags
// passed to the idl compiler.
ACE_Hash_Map_Manager<ACE_CString, int, ACE_Null_Mutex> &
- idl_keywords (void);
+ idl_keywords ();
// Accessor for the IDL keyword container.
- ACE_Unbounded_Stack<char *> & pragma_prefixes (void);
+ ACE_Unbounded_Stack<char *> & pragma_prefixes ();
// Accessor for the pragma prefix container.
void update_prefix (char *filename);
@@ -524,11 +524,11 @@ public:
long seen_include_file_before (char *);
// Seen this include before?
- long last_seen_index (void) const;
+ long last_seen_index () const;
void last_seen_index (long val);
// Accessors for last_seen_index_ member.
- bool preserve_cpp_keywords (void);
+ bool preserve_cpp_keywords ();
// Whether we should not mung idl element names that are
// C++ keywords e.g. delete, operator etc. with _cxx_ prefix.
// Should be true when being used by the IFR Service
@@ -543,98 +543,98 @@ public:
// specific paths and false for paths provided by user.
void add_rel_include_path (const char *s);
- ACE_Unbounded_Queue<char *> const & rel_include_paths (void) const;
+ ACE_Unbounded_Queue<char *> const & rel_include_paths () const;
// Accessor/mutator for the rel_include_paths_ member.
void add_ciao_lem_file_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_lem_file_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_lem_file_names ();
// Accessor/mutator for the ciao_lem_file_names_ member.
void add_ciao_rti_ts_file_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_rti_ts_file_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_rti_ts_file_names ();
// Accessor/mutator for the ciao_rti_ts_file_names_ member.
void add_ciao_spl_ts_file_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_spl_ts_file_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_spl_ts_file_names ();
// Accessor/mutator for the ciao_spl_ts_file_names_ member.
void add_ciao_oci_ts_file_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_oci_ts_file_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_oci_ts_file_names ();
// Accessor/mutator for the ciao_oci_ts_file_names_ member.
void add_ciao_coredx_ts_file_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_coredx_ts_file_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_coredx_ts_file_names ();
// Accessor/mutator for the ciao_coredx_ts_file_names_ member.
void add_ciao_ami_iface_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_ami_iface_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_ami_iface_names ();
// Accessor/mutator for the ciao_ami_iface_names_ member.
void add_ciao_ami_recep_names (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_ami_recep_names (void);
+ ACE_Unbounded_Queue<char *> & ciao_ami_recep_names ();
// Accessor/mutator for the ciao_ami_recep_names_ member.
void add_included_ami_recep_names (const char *s);
- ACE_Unbounded_Queue<char *> & included_ami_recep_names (void);
+ ACE_Unbounded_Queue<char *> & included_ami_recep_names ();
// Accessor/mutator for the included_ami_recep_names_ member.
- bool included_ami_receps_done (void) const;
+ bool included_ami_receps_done () const;
void included_ami_receps_done (bool val);
void add_ciao_ami_idl_fnames (const char *s);
- ACE_Unbounded_Queue<char *> & ciao_ami_idl_fnames (void);
+ ACE_Unbounded_Queue<char *> & ciao_ami_idl_fnames ();
// Accessor/mutator for the included_ami_idl_fnames_ member.
void add_dds4ccm_impl_fnames (const char *s);
- ACE_Unbounded_Queue<char *> & dds4ccm_impl_fnames (void);
+ ACE_Unbounded_Queue<char *> & dds4ccm_impl_fnames ();
// Accessor mutator for the dds4ccm_impl_fnames_ member.
- ACE_Unbounded_Queue<AST_Interface *> & mixed_parentage_interfaces (void);
+ ACE_Unbounded_Queue<AST_Interface *> & mixed_parentage_interfaces ();
// Accessor for the member
ACE_Hash_Map_Manager<char *, char *, ACE_Null_Mutex> &
- file_prefixes (void);
+ file_prefixes ();
// Accessor for the IDL file prefix container.
- bool pass_orb_idl (void) const;
+ bool pass_orb_idl () const;
void pass_orb_idl (bool val);
// Accessor for the pass_orb_idl_ member.
- bool using_ifr_backend (void) const;
+ bool using_ifr_backend () const;
void using_ifr_backend (bool val);
// Accessor for the using_ifr_backend_ member.
- bool ignore_idl3 (void) const;
+ bool ignore_idl3 () const;
void ignore_idl3 (bool val);
// Accessor for the ignore_idl3_ member.
- int check_gperf (void);
+ int check_gperf ();
// Currently called only from IDL backend, but could be useful elsewhere.
- void fini (void);
+ void fini ();
// Do final cleanup just before process exits.
- ACE_Unbounded_Queue<AST_ValueType *> &primary_keys (void);
+ ACE_Unbounded_Queue<AST_ValueType *> &primary_keys ();
// Accessor for the member.
- void check_primary_keys (void);
+ void check_primary_keys ();
// Called affer yy_parse() returns - iterates over our list
// of primary keys. Must be called this late so that we can
// be sure that all forward declared stucts or unions that
// might be used in such a valuetype are fully defined.
- const char *recursion_start (void) const;
+ const char *recursion_start () const;
void recursion_start (const char *val);
// Accessors for the member.
- bool multi_file_input (void) const;
+ bool multi_file_input () const;
void multi_file_input (bool val);
// Accessors for the member.
- const char *big_file_name (void) const;
+ const char *big_file_name () const;
// Just get the const string.
- FE_Utils::T_PARAMLIST_INFO const *current_params (void) const;
+ FE_Utils::T_PARAMLIST_INFO const *current_params () const;
void current_params (FE_Utils::T_PARAMLIST_INFO *params);
// Accessors for the member. If UTL_Scope::lookup_by_name()
// has a 0 result, it will check this param list (if it is not
@@ -643,14 +643,14 @@ public:
// referenced template parameter of the eclosing template
// module.
- UTL_StrList const *alias_params (void) const;
+ UTL_StrList const *alias_params () const;
void alias_params (UTL_StrList *params);
// Accessors for the member. If we are parsing a template
// module reference, we traverse the scope of the referenced
// template module, but create param holders with the
// alias names.
- UTL_StrList const *for_new_holder (void) const;
+ UTL_StrList const *for_new_holder () const;
void for_new_holder (UTL_StrList *params);
// Accessors for the member. If a lookup matches something
// from current_params(), the actual created param holder must
@@ -661,7 +661,7 @@ public:
static char* translateName (const char* name, char *name_buf);
#endif
- AST_Module *corba_module (void) const;
+ AST_Module *corba_module () const;
void corba_module (AST_Module *m);
// Accessors for the member.
@@ -676,7 +676,7 @@ public:
typedef ACE_Unbounded_Queue_Iterator<Include_Path_Info>
Unbounded_Paths_Queue_Iterator;
- Unbounded_Paths_Queue &include_paths (void);
+ Unbounded_Paths_Queue &include_paths ();
// Accessor for the member.
enum ANON_TYPE_DIAGNOSTIC
@@ -694,20 +694,20 @@ public:
/// Has anon_type_diagnostic () been called?
bool explicit_anon_type_diagnostic () const;
- bool anon_error (void) const;
- bool anon_warning (void) const;
- bool anon_silent (void) const;
+ bool anon_error () const;
+ bool anon_warning () const;
+ bool anon_silent () const;
// Simple checks for the value of anon_type_diagnostic_.
- bool in_typedef (void) const;
+ bool in_typedef () const;
void in_typedef (bool val);
// Accessors for the member.
- bool in_tmpl_mod_no_alias (void) const;
+ bool in_tmpl_mod_no_alias () const;
void in_tmpl_mod_no_alias (bool val);
// Accessors for the member.
- bool in_tmpl_mod_alias (void) const;
+ bool in_tmpl_mod_alias () const;
void in_tmpl_mod_alias (bool val);
// Accessors for the member.
diff --git a/TAO/TAO_IDL/include/utl_decllist.h b/TAO/TAO_IDL/include/utl_decllist.h
index 5f0528977bf..ab2818f9bf8 100644
--- a/TAO/TAO_IDL/include/utl_decllist.h
+++ b/TAO/TAO_IDL/include/utl_decllist.h
@@ -88,10 +88,10 @@ public:
UTL_DeclList *cdr);
// Get element
- FE_Declarator *head (void);
+ FE_Declarator *head ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
// Data
@@ -109,7 +109,7 @@ public:
UTL_DecllistActiveIterator (UTL_DeclList *s);
// Get current item
- FE_Declarator *item (void);
+ FE_Declarator *item ();
};
#endif // _UTL_DECLLIST_UTL_DECLLIST_HH
diff --git a/TAO/TAO_IDL/include/utl_err.h b/TAO/TAO_IDL/include/utl_err.h
index b80970dbe42..4fc0afe033e 100644
--- a/TAO/TAO_IDL/include/utl_err.h
+++ b/TAO/TAO_IDL/include/utl_err.h
@@ -245,7 +245,7 @@ public:
void version_syntax_error (const char *msg);
// Repost an attempt to reset the version.
- void version_reset_error (void);
+ void version_reset_error ();
// Report an attempt to change the id once set.
void id_reset_error (const char *o,
@@ -381,7 +381,7 @@ public:
// Report illegal infix operator error (they can be used
// only with integer, floating point or fixed point expressions.
- void illegal_infix (void);
+ void illegal_infix ();
// Report local type used in remote operation.
void local_remote_mismatch (AST_Decl *l,
@@ -411,7 +411,7 @@ public:
AST_Decl *loc);
// Error (default) or warning (set by command line option).
- void anonymous_type_diagnostic (void);
+ void anonymous_type_diagnostic ();
// Reference to an item in the scope of a template
// module was not via an alias.
diff --git a/TAO/TAO_IDL/include/utl_exceptlist.h b/TAO/TAO_IDL/include/utl_exceptlist.h
index a04f6276994..5ba9bbbcfb7 100644
--- a/TAO/TAO_IDL/include/utl_exceptlist.h
+++ b/TAO/TAO_IDL/include/utl_exceptlist.h
@@ -84,14 +84,14 @@ public:
UTL_ExceptList *cdr);
// Get list item.
- AST_Type *head (void);
+ AST_Type *head ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
// Copies the UTL_ExceptList pointers but not the
// contained AST_Exceptions.
- virtual UTL_ExceptList *copy (void);
+ virtual UTL_ExceptList *copy ();
private:
// Data.
@@ -106,7 +106,7 @@ public:
UTL_ExceptlistActiveIterator (UTL_ExceptList *s);
// Get current item
- AST_Type *item (void);
+ AST_Type *item ();
};
#endif // _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH
diff --git a/TAO/TAO_IDL/include/utl_exprlist.h b/TAO/TAO_IDL/include/utl_exprlist.h
index 3a7f8ebc875..21ff96e039f 100644
--- a/TAO/TAO_IDL/include/utl_exprlist.h
+++ b/TAO/TAO_IDL/include/utl_exprlist.h
@@ -84,10 +84,10 @@ public:
UTL_ExprList *cdr);
// Get list item.
- AST_Expression *head (void);
+ AST_Expression *head ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
// Data.
@@ -101,7 +101,7 @@ public:
UTL_ExprlistActiveIterator (UTL_ExprList *s);
// Get current item.
- AST_Expression *item (void);
+ AST_Expression *item ();
};
#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH
diff --git a/TAO/TAO_IDL/include/utl_identifier.h b/TAO/TAO_IDL/include/utl_identifier.h
index bae3e637400..85ceadbf06d 100644
--- a/TAO/TAO_IDL/include/utl_identifier.h
+++ b/TAO/TAO_IDL/include/utl_identifier.h
@@ -72,7 +72,7 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
class TAO_IDL_FE_Export Identifier
{
public:
- Identifier (void);
+ Identifier ();
// Default Constructor.
Identifier (const char *s);
@@ -80,7 +80,7 @@ public:
Identifier (const Identifier &other);
- virtual ~Identifier (void);
+ virtual ~Identifier ();
// Destructor.
// Operations
@@ -89,7 +89,7 @@ public:
* Get the underlying string.
*/
///{
- char *get_string (void);
+ char *get_string ();
const char *get_string () const;
///}
@@ -107,16 +107,16 @@ public:
bool case_compare_quiet (Identifier *other);
// Like the above but suppressing error or warning I/O
- Identifier *copy (void);
+ Identifier *copy ();
// Create a deep copy.
- bool escaped (void) const;
+ bool escaped () const;
// Accessor for the member.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Dump to an ostream.
- virtual void destroy (void);
+ virtual void destroy ();
// Cleanup function.
bool operator== (const Identifier &other) const;
diff --git a/TAO/TAO_IDL/include/utl_idlist.h b/TAO/TAO_IDL/include/utl_idlist.h
index ea59e45aca8..a382a35963e 100644
--- a/TAO/TAO_IDL/include/utl_idlist.h
+++ b/TAO/TAO_IDL/include/utl_idlist.h
@@ -90,25 +90,25 @@ public:
UTL_IdList *cdr);
// Constructor(s)
- virtual ~UTL_IdList (void) {}
+ virtual ~UTL_IdList () {}
// destructor
virtual void dump (ACE_OSTREAM_TYPE &o);
// Dump to ostream.
- virtual void destroy (void);
+ virtual void destroy ();
// Cleanup function.
- virtual UTL_IdList *copy (void);
+ virtual UTL_IdList *copy ();
// Copy the list.
- Identifier *head (void);
+ Identifier *head ();
// Get element.
- Identifier *last_component (void);
+ Identifier *last_component ();
// Get last element in this list.
- Identifier *first_component (void);
+ Identifier *first_component ();
// Get first element in this list holding a non-empty string.
int compare (UTL_IdList *other);
@@ -141,7 +141,7 @@ public:
UTL_IdListActiveIterator (UTL_IdList *s);
/// Retrieves the next item.
- Identifier *item (void);
+ Identifier *item ();
};
#endif // _UTL_IDLIST_UTL_IDLIST_HH
diff --git a/TAO/TAO_IDL/include/utl_indenter.h b/TAO/TAO_IDL/include/utl_indenter.h
index 8fe36f5b7db..da328055426 100644
--- a/TAO/TAO_IDL/include/utl_indenter.h
+++ b/TAO/TAO_IDL/include/utl_indenter.h
@@ -78,17 +78,17 @@ class UTL_Indenter
// =DESCRIPTION
// useful in generating indented output
public:
- UTL_Indenter (void);
+ UTL_Indenter ();
- ~UTL_Indenter (void) {}
+ ~UTL_Indenter () {}
- void reset (void);
+ void reset ();
// Reset indentation level to 0.
- void increase (void);
+ void increase ();
// Increase indentation level.
- void decrease (void);
+ void decrease ();
// Decrease indentation level.
void skip_to (ACE_OSTREAM_TYPE &o);
diff --git a/TAO/TAO_IDL/include/utl_labellist.h b/TAO/TAO_IDL/include/utl_labellist.h
index 161b294503f..d2e71a94204 100644
--- a/TAO/TAO_IDL/include/utl_labellist.h
+++ b/TAO/TAO_IDL/include/utl_labellist.h
@@ -84,13 +84,13 @@ public:
UTL_LabelList *cdr);
// Get list item.
- AST_UnionLabel *head (void);
+ AST_UnionLabel *head ();
// Override of base class method.
- virtual UTL_LabelList *copy (void);
+ virtual UTL_LabelList *copy ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
AST_UnionLabel *pd_car_data;
@@ -103,7 +103,7 @@ public:
UTL_LabellistActiveIterator (UTL_LabelList *source);
// Get current item.
- AST_UnionLabel *item (void);
+ AST_UnionLabel *item ();
};
#endif // _UTL_LABELLIST_UTL_LABELLIST_HH
diff --git a/TAO/TAO_IDL/include/utl_list.h b/TAO/TAO_IDL/include/utl_list.h
index 7e7ed5d781f..a70b9d0ff5d 100644
--- a/TAO/TAO_IDL/include/utl_list.h
+++ b/TAO/TAO_IDL/include/utl_list.h
@@ -85,25 +85,25 @@ class TAO_IDL_FE_Export UTL_List
public:
UTL_List (UTL_List *c);
- virtual ~UTL_List (void);
+ virtual ~UTL_List ();
// Smash last cdr pointer in "this" with l.
void nconc (UTL_List *l);
// Copy the list starting at "this".
- virtual UTL_List *copy (void);
+ virtual UTL_List *copy ();
// Get next list.
- UTL_List *tail (void);
+ UTL_List *tail ();
// Set next list
void set_tail (UTL_List *l);
// How long is this list?
- ACE_CDR::Long length (void);
+ ACE_CDR::Long length ();
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
// The next list.
@@ -123,13 +123,13 @@ public:
UTL_ListActiveIterator (UTL_List *s);
- virtual ~UTL_ListActiveIterator (void) {}
+ virtual ~UTL_ListActiveIterator () {}
// Get next list.
- virtual void next (void);
+ virtual void next ();
// Are we at the end of this list?
- virtual bool is_done (void);
+ virtual bool is_done ();
protected:
// On what to iterate?
diff --git a/TAO/TAO_IDL/include/utl_namelist.h b/TAO/TAO_IDL/include/utl_namelist.h
index 46b946faa5b..2a1d7ab02af 100644
--- a/TAO/TAO_IDL/include/utl_namelist.h
+++ b/TAO/TAO_IDL/include/utl_namelist.h
@@ -82,14 +82,14 @@ public:
UTL_NameList *cdr);
// Get list item.
- UTL_ScopedName *head (void);
+ UTL_ScopedName *head ();
// Accessors.
- bool truncatable (void) const;
+ bool truncatable () const;
void truncatable (bool val);
// Cleanup.
- virtual void destroy (void);
+ virtual void destroy ();
private:
// List item.
@@ -106,7 +106,7 @@ public:
UTL_NamelistActiveIterator (UTL_NameList *source);
// Get current item.
- UTL_ScopedName *item (void);
+ UTL_ScopedName *item ();
};
#endif // _UTL_NAMELIST_UTL_NAMELIST_HH
diff --git a/TAO/TAO_IDL/include/utl_scope.h b/TAO/TAO_IDL/include/utl_scope.h
index 658c2be463b..1b1a5c41e54 100644
--- a/TAO/TAO_IDL/include/utl_scope.h
+++ b/TAO/TAO_IDL/include/utl_scope.h
@@ -155,14 +155,14 @@ public:
// Operations.
// Constructor(s).
- UTL_Scope (void);
+ UTL_Scope ();
UTL_Scope (AST_Decl::NodeType nt);
// Destructor.
- virtual ~UTL_Scope (void);
+ virtual ~UTL_Scope ();
// Data Accessors.
- AST_Decl::NodeType scope_node_type (void)
+ AST_Decl::NodeType scope_node_type ()
{
return pd_scope_node_type;
}
@@ -206,7 +206,7 @@ public:
AST_Decl *&final_parent_decl);
// How many entries are used?
- virtual unsigned long nmembers (void);
+ virtual unsigned long nmembers ();
// If the Identifier string (from the scoped name which has been
// already determined to be of length 1) matches a param,
@@ -227,11 +227,11 @@ public:
void add_to_name_referenced (Identifier *id);
// Accessors for the has_prefix_ member.
- bool has_prefix (void);
+ bool has_prefix ();
void has_prefix (bool val);
// Cleanup function.
- virtual void destroy (void);
+ virtual void destroy ();
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
@@ -533,19 +533,19 @@ public:
UTL_Scope::ScopeIterationKind ik);
// Advance to next item.
- void next (void);
+ void next ();
// Get current item.
- AST_Decl *item (void);
+ AST_Decl *item ();
// Have we iterated over entire scope?
- bool is_done (void);
+ bool is_done ();
// What kind of iterator is this?
- UTL_Scope::ScopeIterationKind iteration_kind (void);
+ UTL_Scope::ScopeIterationKind iteration_kind ();
// What stage are we in with this iterator?
- UTL_Scope::ScopeIterationKind iteration_stage (void);
+ UTL_Scope::ScopeIterationKind iteration_stage ();
private:
// Scope to iterate over.
diff --git a/TAO/TAO_IDL/include/utl_stack.h b/TAO/TAO_IDL/include/utl_stack.h
index d83159b6db7..ffc7f909668 100644
--- a/TAO/TAO_IDL/include/utl_stack.h
+++ b/TAO/TAO_IDL/include/utl_stack.h
@@ -79,35 +79,35 @@ class UTL_ScopeStackActiveIterator;
class TAO_IDL_FE_Export UTL_ScopeStack
{
public:
- UTL_ScopeStack (void);
- ~UTL_ScopeStack (void);
+ UTL_ScopeStack ();
+ ~UTL_ScopeStack ();
/// The initial capacity and how much to increment the capacity when needed.
static const size_t increments;
// Return top element.
- UTL_Scope *top (void);
+ UTL_Scope *top ();
// Pop top element.
- void pop (void);
+ void pop ();
// Clear entire stack.
- void clear (void);
+ void clear ();
// Push an element on the stack and return stack.
UTL_ScopeStack *push (UTL_Scope *el);
// How deep is the stack now?
- unsigned long depth (void);
+ unsigned long depth ();
// Return bottom element.
- UTL_Scope *bottom (void);
+ UTL_Scope *bottom ();
// Return (top - 1) element.
- UTL_Scope *next_to_top (void);
+ UTL_Scope *next_to_top ();
// return topmost non-NULL element.
- UTL_Scope *top_non_null (void);
+ UTL_Scope *top_non_null ();
/**
* Call lookup_by_name on all the scopes from the top down.
@@ -136,13 +136,13 @@ public:
UTL_ScopeStackActiveIterator (UTL_ScopeStack &s);
// Advance to next element.
- void next (void);
+ void next ();
// Get current item.
- UTL_Scope* item (void);
+ UTL_Scope* item ();
// Is the iteration finished?
- bool is_done (void) const;
+ bool is_done () const;
private:
// On what to iterate?
diff --git a/TAO/TAO_IDL/include/utl_string.h b/TAO/TAO_IDL/include/utl_string.h
index 9489421c04f..7b6d788df13 100644
--- a/TAO/TAO_IDL/include/utl_string.h
+++ b/TAO/TAO_IDL/include/utl_string.h
@@ -79,24 +79,24 @@ class TAO_IDL_FE_Export UTL_String
// =DESCRIPTION
// string class to store identifiers
public:
- UTL_String (void);
+ UTL_String ();
UTL_String (const char *str, bool take_copy= false);
UTL_String (UTL_String *s, bool force_copy= false);
- virtual ~UTL_String (void);
+ virtual ~UTL_String ();
- virtual void destroy (void);
+ virtual void destroy ();
// Cleanup function.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Dump to the ostream.
- char *get_string (void) {return this->p_str;}
+ char *get_string () {return this->p_str;}
// Get contents of utl_string.
- char *get_canonical_rep (void);
+ char *get_canonical_rep ();
// Get canonical representation. This is (implemented as) the all upper
// case corresponding string.
diff --git a/TAO/TAO_IDL/include/utl_strlist.h b/TAO/TAO_IDL/include/utl_strlist.h
index f355ba746b8..2a6c8f60c5f 100644
--- a/TAO/TAO_IDL/include/utl_strlist.h
+++ b/TAO/TAO_IDL/include/utl_strlist.h
@@ -84,25 +84,25 @@ public:
UTL_StrList (UTL_String *s,
UTL_StrList *cdr);
- virtual ~UTL_StrList (void);
+ virtual ~UTL_StrList ();
// AST Dumping
virtual void dump (ACE_OSTREAM_TYPE &o);
// Copy a list of strings
- virtual UTL_List *copy (void);
+ virtual UTL_List *copy ();
// Cleanup method.
- virtual void destroy (void);
+ virtual void destroy ();
// Get list element
- UTL_String *head (void);
+ UTL_String *head ();
// Set the list element
void set_head (UTL_String *);
// Get last element in this list
- UTL_String *last_component (void);
+ UTL_String *last_component ();
private:
// The list item
@@ -117,7 +117,7 @@ public:
UTL_StrlistActiveIterator(UTL_StrList *s);
// Get current item.
- UTL_String *item (void);
+ UTL_String *item ();
};
#endif // _UTL_STRLIST_UTL_STRLIST_HH