Misc style fixes

* include/abg-writer.h (write_translation_unit): Re-indent parms.
	* src/abg-writer.cc (write_translation_unit): Likewise.
	* test/test-read-write.cc (main): Fix white space.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-01-07 13:55:02 +01:00
parent aafb86f595
commit 4ca76c4658
3 changed files with 11 additions and 11 deletions

View File

@ -1581,7 +1581,7 @@ write_class_tdecl(const shared_ptr<class_tdecl> decl,
ostream& o = ctxt.get_ostream();
do_indent_to_level(ctxt,indent, 0);
do_indent_to_level(ctxt, indent, 0);
o << "<class-template-decl id='" << ctxt.get_id_for_class_tmpl(decl) << "'";

View File

@ -152,7 +152,7 @@ main()
bool is_ok = true;
string in_path, out_path;
for (InOutSpec *s = in_out_specs; s->in_path; ++s)
for (InOutSpec* s = in_out_specs; s->in_path; ++s)
{
string input_suffix(s->in_path);
in_path = abigail::tests::get_src_dir() + "/tests/" + input_suffix;
@ -181,8 +181,8 @@ main()
continue;
}
bool r = abigail::xml_writer::write_translation_unit(tu, /*indent=*/0,
of);
bool r =
abigail::xml_writer::write_translation_unit(tu, /*indent=*/0, of);
is_ok = (is_ok && r);
of.close();
string cmd = "diff -u " + in_path + " " + out_path;