This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions
- From: VÃclav Zeman <vhaisman at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 7 Nov 2013 15:05:19 +0100
- Subject: Re: [PATCH] remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions
- Authentication-results: sourceware.org; auth=none
- References: <1383785937-24748-1-git-send-email-tsaunders at mozilla dot com>
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