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] Fix PR c++/21802 (two-stage name lookup fails for operators)


Hi,

On Mon, 14 Dec 2015, Patrick Palka wrote:

> >>> >This should use cp_tree_operand_length.
> >> Hmm, I don't immediately see how I can use this function here.  It
> >> expects a tree but I dont have an appropriate tree to give to it, only a
> >> tree_code.
> >
> > True.  So let's introduce cp_tree_code_length next to cp_tree_operand_length.
> >
> > Jason
> >
> >
> 
> Like this?  Incremental diff followed by patch v4:

Not my turf, but if I may make a suggestion: please use the new function 
in the old one instead of duplicating the implementation.


Ciao,
Michael.


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