mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-06 06:37:31 +00:00
Misc style & white space fixes
* include/abg-fwd.h (is_global_scope, is_at_global_scope) (is_at_class_scope, is_at_template_scope, is_template_parameter) (is_type, is_var_decl, is_template_parm_composition_type) (is_template_decl, is_function_template_pattern) (add_decl_to_scope, get_global_scope, get_translation_unit): Remove parameter names from declarations. * include/abg-ir.h (decl_base::set_location): Remove useless white space. (struct type_shared_ptr_equal): Fix comment filling. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
1adfd24e44
commit
059bb2fbfd
@ -118,49 +118,49 @@ translation_unit*
|
||||
get_translation_unit(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_global_scope(const scope_decl* scpe);
|
||||
is_global_scope(const scope_decl*);
|
||||
|
||||
bool
|
||||
is_global_scope(const shared_ptr<scope_decl> scpe);
|
||||
is_global_scope(const shared_ptr<scope_decl>);
|
||||
|
||||
bool
|
||||
is_at_global_scope(const shared_ptr<decl_base> dcl);
|
||||
is_at_global_scope(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_at_class_scope(const shared_ptr<decl_base> dcl);
|
||||
is_at_class_scope(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_at_template_scope(const shared_ptr<decl_base> dcl);
|
||||
is_at_template_scope(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_template_parameter(const shared_ptr<decl_base> dcl);
|
||||
is_template_parameter(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_type(const shared_ptr<decl_base> decl);
|
||||
is_type(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_var_decl(const shared_ptr<decl_base> decl);
|
||||
is_var_decl(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_template_parm_composition_type(const shared_ptr<decl_base> dcl);
|
||||
is_template_parm_composition_type(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_template_decl(const shared_ptr<decl_base> dcl);
|
||||
is_template_decl(const shared_ptr<decl_base>);
|
||||
|
||||
bool
|
||||
is_function_template_pattern(const shared_ptr<decl_base> dcl);
|
||||
is_function_template_pattern(const shared_ptr<decl_base>);
|
||||
|
||||
void
|
||||
add_decl_to_scope(shared_ptr<decl_base> dcl, scope_decl* scpe);
|
||||
add_decl_to_scope(shared_ptr<decl_base>, scope_decl*);
|
||||
|
||||
void
|
||||
add_decl_to_scope(shared_ptr<decl_base> dcl, shared_ptr<scope_decl> scpe);
|
||||
add_decl_to_scope(shared_ptr<decl_base>, shared_ptr<scope_decl>);
|
||||
|
||||
global_scope*
|
||||
get_global_scope(const shared_ptr<decl_base> dcl);
|
||||
get_global_scope(const shared_ptr<decl_base>);
|
||||
|
||||
translation_unit*
|
||||
get_translation_unit(const shared_ptr<decl_base> dcl);
|
||||
get_translation_unit(const shared_ptr<decl_base>);
|
||||
|
||||
void
|
||||
dump(const shared_ptr<decl_base>);
|
||||
@ -169,7 +169,7 @@ void
|
||||
dump(const shared_ptr<type_base>);
|
||||
|
||||
void
|
||||
dump(const shared_ptr<var_decl> v);
|
||||
dump(const shared_ptr<var_decl>);
|
||||
|
||||
void
|
||||
dump(const translation_unit&);
|
||||
|
@ -218,7 +218,7 @@ public:
|
||||
|
||||
void
|
||||
set_location(const location& l)
|
||||
{ location_ = l; }
|
||||
{location_ = l;}
|
||||
|
||||
const string&
|
||||
get_name() const
|
||||
@ -386,8 +386,8 @@ public:
|
||||
get_alignment_in_bits() const;
|
||||
};//end class type_base
|
||||
|
||||
|
||||
/// A predicate for deep equality of instances of shared_ptr<type_base>
|
||||
/// A predicate for deep equality of instances of
|
||||
/// shared_ptr<type_base>
|
||||
struct type_shared_ptr_equal
|
||||
{
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user