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 v2 4/6] Remove symtab_node and const_symtab_node typedefs.


> gcc/
> 
> 	* ipa-ref.h (symtab_node): Remove typedef to pointer type, as it
> 	clashes with the preferred name for the base class.
> 	(const_symtab_node): Remove redundant typedef.

This is OK, too.
Actually it is not only clash - it was really inconsistent to write
symtab_node node;
struct cgraph_node *cnode;

It is good this inconsistency is gone.
Honza


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