go/names.cc
void
Gogo::specific_type_function_names(const Type* type, const Named_type* name,
				   std::string *hash_name,
				   std::string *equal_name)
{
  const Type* rtype = type;
  if (name != NULL)
    rtype = name;
  std::string tname = rtype->mangled_name(this);
  *hash_name = tname + "..hash";
  *equal_name = tname + "..eq";
}
// Return the names of the hash and equality functions for TYPE.  If
// NAME is not NULL it is the name of the type.  Set *HASH_NAME and
// *EQUAL_NAME.
Return the names of the hash and equality functions for TYPE.  If
NAME is not NULL it is the name of the type.
Return the names of the hash and equality functions for TYPE . If NAME is not NULL it is the name of the type .
void
Gogo::specific_type_function_names(const Type* type, const Named_type* name,
				   std::string *hash_name,
				   std::string *equal_name)
{
  const Type* rtype = type;
  if (name != NULL)
    rtype = name;
  std::string tname = rtype->mangled_name(this);
  *hash_name = tname + "..hash";
  *equal_name = tname + "..eq";
}
void Gogo :: specific_type_function_names ( const Type * type , const Named_type * name , std :: string * hash_name , std :: string * equal_name ) { const Type * rtype = type ; if ( name != NULL ) rtype = name ; std :: string tname = rtype -> mangled_name ( this ) ; * hash_name = tname + " " ; * equal_name = tname + " " ; }
Return the names of the hash and equality functions for TYPE.
Return the names of the hash and equality functions for TYPE .