mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-20 08:20:46 +00:00
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:
parent
9905d847d2
commit
cb764d3cdf
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -3083,7 +3083,6 @@ scope_diff::report(ostream& out, const string& indent) const
|
||||
}
|
||||
if (emitted)
|
||||
out << "\n";
|
||||
|
||||
}
|
||||
|
||||
/// Compute the diff between two scopes.
|
||||
|
@ -479,5 +479,4 @@ corpus::get_variables() const
|
||||
|
||||
return priv_->vars;
|
||||
}
|
||||
|
||||
}// end namespace abigail
|
||||
|
@ -91,7 +91,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
typedef unordered_map<type_base*,
|
||||
string,
|
||||
type_base::cached_hash,
|
||||
|
Loading…
Reference in New Issue
Block a user