Add missing spaces here and there.
* src/abg-comparison.cc (diff_context::mark_diff_as_visited): Add
missing space.
(corpus_diff::priv::ensure_lookup_tables_populated): Likewise.
* src/abg-dwarf-reader.cc (lookup_symbol_from_elf): Likewise.
(get_soname_of_elf_file, get_type_of_elf_file): Likewise.
* src/abg-ir.cc (var_decl::get_pretty_representation): Likewise.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
void
diff_context::mark_diff_as_visited(const diff* d)
{
- if(diff_has_been_visited(d))
+ if (diff_has_been_visited(d))
return;
const diff* canonical = d->get_canonical_diff();
// version, then added_sym shouldn't be
// considered as a newly added symbol.
elf_symbol::version empty_version;
- if(first_->lookup_function_symbol(added_sym->get_name(),
- empty_version))
+ if (first_->lookup_function_symbol(added_sym->get_name(),
+ empty_version))
do_add = false;
}
// version, then added_sym shouldn't be
// considered as a newly added symbol.
elf_symbol::version empty_version;
- if(first_->lookup_variable_symbol(added_sym->get_name(),
- empty_version))
+ if (first_->lookup_variable_symbol(added_sym->get_name(),
+ empty_version))
do_add = false;
}
vector<elf_symbol_sptr>& syms)
{
- if(elf_version(EV_CURRENT) == EV_NONE)
+ if (elf_version(EV_CURRENT) == EV_NONE)
return false;
int fd = open(elf_path.c_str(), O_RDONLY);
const string& symname,
vector<elf_symbol_sptr>& syms)
{
- if(elf_version(EV_CURRENT) == EV_NONE)
+ if (elf_version(EV_CURRENT) == EV_NONE)
return false;
int fd = open(path.c_str(), O_RDONLY);
{
int fd = open(path.c_str(), O_RDONLY);
- if(fd == -1)
+ if (fd == -1)
return false;
elf_version (EV_CURRENT);
get_type_of_elf_file(const string& path, elf_type& type)
{
int fd = open(path.c_str(), O_RDONLY);
- if(fd == -1)
+ if (fd == -1)
return false;
elf_version (EV_CURRENT);
if (is_member_decl(this) && get_member_is_static(this))
result = "static ";
- if(array_type_def_sptr t = is_array_type(get_type()))
+ if (array_type_def_sptr t = is_array_type(get_type()))
result += get_type_declaration(t->get_element_type())->get_qualified_name()
+ " " + get_qualified_name() + t->get_subrange_representation();
else