mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-15 22:44:41 +00:00
Misc style fixes
* src/abg-ir.cc (location_manager::location_manager) (translation_unit::{is_empty, traverse, ~translation_unit): Remove useless vertical white spaces. * tools/bilint.cc (parse_command_line): Fix indentation. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
6258b5f824
commit
98681a9327
@ -94,9 +94,7 @@ struct location_manager::_Impl
|
||||
};
|
||||
|
||||
location_manager::location_manager()
|
||||
{
|
||||
priv_ = shared_ptr<location_manager::_Impl>(new location_manager::_Impl);
|
||||
}
|
||||
{priv_ = shared_ptr<location_manager::_Impl>(new location_manager::_Impl);}
|
||||
|
||||
/// Insert the triplet representing a source locus into our internal
|
||||
/// vector of location triplet. Return an instance of location type,
|
||||
@ -204,7 +202,7 @@ translation_unit::get_loc_mgr() const
|
||||
/// @return true iff the current translation unit is empty.
|
||||
bool
|
||||
translation_unit::is_empty() const
|
||||
{ return get_global_scope()->is_empty(); }
|
||||
{return get_global_scope()->is_empty();}
|
||||
|
||||
/// This implements the traversable_base::traverse pure virtual
|
||||
/// function.
|
||||
@ -213,10 +211,10 @@ translation_unit::is_empty() const
|
||||
/// unit during the traversal.
|
||||
void
|
||||
translation_unit::traverse(ir_node_visitor& v)
|
||||
{ get_global_scope()->traverse(v); }
|
||||
{get_global_scope()->traverse(v);}
|
||||
|
||||
translation_unit::~translation_unit()
|
||||
{ }
|
||||
{}
|
||||
|
||||
// <Decl definition>
|
||||
|
||||
|
@ -66,19 +66,19 @@ parse_command_line(int argc, char* argv[], options& opts)
|
||||
return false;
|
||||
|
||||
for (int i = 1; i < argc; ++i)
|
||||
{
|
||||
if (argv[i][0] != '-')
|
||||
{
|
||||
if (opts.file_path.empty())
|
||||
opts.file_path = argv[i];
|
||||
else
|
||||
return false;
|
||||
}
|
||||
else if (!strcmp(argv[i], "--help"))
|
||||
return false;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
{
|
||||
if (argv[i][0] != '-')
|
||||
{
|
||||
if (opts.file_path.empty())
|
||||
opts.file_path = argv[i];
|
||||
else
|
||||
return false;
|
||||
}
|
||||
else if (!strcmp(argv[i], "--help"))
|
||||
return false;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
if (opts.file_path.empty())
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user