FreeBSD/contrib/gcc/cp/mangle.c
/* Create an identifier for the mangled name of a special component
   for belonging to TYPE.  CODE is the ABI-specified code for this
   component.  */
Create an identifier for the mangled name of a special component
for belonging to TYPE.  CODE is the ABI-specified code for this
component.
Create an identifier for the mangled name of a special component for belonging to TYPE . CODE is the ABI - specified code for this component .
static tree
mangle_special_for_type (const tree type, const char *code)
{
  const char *result;
  start_mangling (type, true);
  write_string ("_Z");
  write_string (code);
  write_type (type);
  result = finish_mangling (false);
  if (DEBUG_MANGLE)
    fprintf (stderr, "mangle_special_for_type = %s\n\n", result);
  return get_identifier_nocopy (result);
}
static tree mangle_special_for_type ( const tree type , const char * code ) { const char * result ; start_mangling ( type , true ) ; write_string ( " " ) ; write_string ( code ) ; write_type ( type ) ; result = finish_mangling ( false ) ; if ( DEBUG_MANGLE ) fprintf ( stderr , " \n \n " , result ) ; return get_identifier_nocopy ( result ) ; }
Create an identifier for the mangled name of a special component
for belonging to TYPE.
Create an identifier for the mangled name of a special component for belonging to TYPE .
/* We don't have an actual decl here for the special component, so
     we can't just process the <encoded-name>.  Instead, fake it.  */ /*ident_p=*/ /* Start the mangling.  */ /* Add the type.  */ /*warn=*/