remove C_EXPR_APPEND macro

Marek Polacek polacek@redhat.com
Fri Feb 7 21:37:00 GMT 2014


On Sat, Feb 08, 2014 at 02:51:03AM +0530, Prathamesh Kulkarni wrote:
> On Sat, Feb 8, 2014 at 2:22 AM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> > On Sat, 8 Feb 2014, Prathamesh Kulkarni wrote:
> >
> >> This patch removes C_EXPR_APPEND macro in c-tree.h
> >> OK for trunk ?
> >
> > Thanks, this is OK with the orphan comment "A varray of c_expr_t." also
> > removed (please send the revised patch if you'd like someone to commit it
> > for you).
> Ah, I missed that, sorry.
> Here's the revised patch:
> 
> * c-parser.c (c_parser_get_builtin_args): replace calls to
> C_EXPR_APPEND (cexpr_list, expr) by vec_safe_push (cexpr_list, expr)
> 
> * c-tree.h (C_EXPR_APPEND): removed

I'll fix up the CL and commit it for you.  I suppose you tested this
patch.

	Marek



More information about the Gcc-patches mailing list