Misc style fixes

* include/abg-hash.h (combine_hashes): Remove trailing white
	spaces.
	* include/abg-ir.h (class function_decl): Add end-of-class
	comment.
	(struct type_base::cached_hash): Fix comment.
	* src/abg-comparison.cc: Remove useless new line.
	* src/abg-corpus.cc: Likewise.
	* src/abg-writer.cc: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2014-02-07 20:18:11 +01:00
parent 9905d847d2
commit cb764d3cdf
5 changed files with 4 additions and 7 deletions

View File

@ -30,9 +30,9 @@ namespace abigail
/// Namespace for hashing.
namespace hashing
{
/// Produce good hash value combining val1 and val2.
/// Produce good hash value combining val1 and val2.
/// This is copied from tree.c in GCC.
std::size_t
std::size_t
combine_hashes(std::size_t, std::size_t);
}//end namespace hashing
}//end namespace abigail

View File

@ -1122,7 +1122,7 @@ public:
traverse(ir_node_visitor&);
virtual ~function_decl();
};
}; // end class function_decl
/// Convenience typedef for a shared pointer on a @ref function_type
typedef shared_ptr<function_type> function_type_sptr;
@ -2275,7 +2275,7 @@ struct type_base::dynamic_hash
operator()(const type_base* t) const;
};
/// A hasher that manages the cache the computed hash and re-use it if
/// A hasher that manages to cache the computed hash and re-use it if
/// it is available.
struct type_base::cached_hash
{

View File

@ -3083,7 +3083,6 @@ scope_diff::report(ostream& out, const string& indent) const
}
if (emitted)
out << "\n";
}
/// Compute the diff between two scopes.

View File

@ -479,5 +479,4 @@ corpus::get_variables() const
return priv_->vars;
}
}// end namespace abigail

View File

@ -91,7 +91,6 @@ public:
}
};
typedef unordered_map<type_base*,
string,
type_base::cached_hash,