This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions


On 11/07/2013 01:58 AM, tsaunders@mozilla.com wrote:
> From: Trevor Saunders <tsaunders@mozilla.com>
>
> Hi,
>
> I admit its another c++ification, but the functions are useless, and if I'm
> changing the name of the called function its just easier to drop the class name
> bit all together.
>
> Trev
>
>[...]
> diff --git a/gcc/cgraph.h b/gcc/cgraph.h
> index 4f93713..754d245 100644
> --- a/gcc/cgraph.h
> +++ b/gcc/cgraph.h
> @@ -44,6 +44,12 @@ class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"),
>    symtab_node
>  {
>  public:
> +  /* Return name.  */
> +  const char *name () const;
> +
> +  /* Return asm name.  */
> +const char * asm_name () const;
> +
Missing indentation?

-- 
VZ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]