FreeBSD/contrib/gcc/cp/mangle.c
/* Generate the mangled name of DECL.  */
Generate the mangled name of DECL.
Generate the mangled name of DECL .
static const char *
mangle_decl_string (const tree decl)
{
  const char *result;
  start_mangling (decl, true);
  if (TREE_CODE (decl) == TYPE_DECL)
    write_type (TREE_TYPE (decl));
  else
    write_mangled_name (decl, true);
  result = finish_mangling (true);
  if (DEBUG_MANGLE)
    fprintf (stderr, "mangle_decl_string = '%s'\n\n", result);
  return result;
}
static const char * mangle_decl_string ( const tree decl ) { const char * result ; start_mangling ( decl , true ) ; if ( TREE_CODE ( decl ) == TYPE_DECL ) write_type ( TREE_TYPE ( decl ) ) ; else write_mangled_name ( decl , true ) ; result = finish_mangling ( true ) ; if ( DEBUG_MANGLE ) fprintf ( stderr , " \n \n " , result ) ; return result ; }
Generate the mangled name of DECL.
Generate the mangled name of DECL .
/*ident_p=*/ /*warn=*/