string_to_elf_symbol_binding(const string&, elf_symbol::binding&);
bool
-operator==(const elf_symbol_sptr lhs, const elf_symbol_sptr rhs);
+operator==(const elf_symbol_sptr& lhs, const elf_symbol_sptr& rhs);
bool
elf_symbols_alias(const elf_symbol& s1, const elf_symbol& s2);
}
static bool
-maybe_report_diff_for_member(decl_base_sptr decl1,
- decl_base_sptr decl2,
- diff_context_sptr ctxt,
- ostream& out,
- const string& indent);
+maybe_report_diff_for_member(const decl_base_sptr& decl1,
+ const decl_base_sptr& decl2,
+ const diff_context_sptr& ctxt,
+ ostream& out,
+ const string& indent);
/// Stream a string representation for a member function.
///
///
/// @return true if something was reported, false otherwise.
static bool
-maybe_report_diff_for_member(decl_base_sptr decl1,
- decl_base_sptr decl2,
- diff_context_sptr ctxt,
- ostream& out,
- const string& indent)
+maybe_report_diff_for_member(const decl_base_sptr& decl1,
+ const decl_base_sptr& decl2,
+ const diff_context_sptr& ctxt,
+ ostream& out,
+ const string& indent)
{
bool reported = false;
}
bool
-operator==(const elf_symbol_sptr lhs, const elf_symbol_sptr rhs)
+operator==(const elf_symbol_sptr& lhs, const elf_symbol_sptr& rhs)
{
if (!!lhs != !!rhs)
return false;