New ARI warning Sat Mar 12 01:53:29 UTC 2011

Eli Zaretskii eliz@gnu.org
Mon Mar 14 13:27:00 GMT 2011


> From: Pedro Alves <pedro@codesourcery.com>
> Date: Mon, 14 Mar 2011 12:51:31 +0000
> Cc: gdb-patches@sourceware.org,
>  pierre.muller@ics-cnrs.unistra.fr
> 
> > extern whatever_type foo (type1_t,
> >        		     	  type2_t, const char **, foobar_t);
> > 
> > not like Pierre originally suggested.
> > 
> > That is, let the left paren and at least one argument be on the same
> > line as the function name.
> 
> I'm fine with your suggestion, and in fact it's my preference
> as well.  However, there _are_ cases where you just can't do that,
> because the return type + function name + parameter end up being
> too long for a single line.

What's wrong with leaving a single long line in such cases?  They are
supposed to be very rare (if typedefs are used for complex function
arguments).



More information about the Gdb-patches mailing list