This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: New ARI warning Sat Mar 12 01:53:29 UTC 2011


> But it's what we do all over.  We do have the rule that
> grep "^foofunc" should only match function definitions, not
> declarations.  Here in gdbint.texinfo:
> 
> "A function declaration should not have its name in column zero.  A
> function definition should have its name in column zero."

  Thank you for finding this out...
This is clearer than what I try to explain to Eli before.

  Eli, do you agree with this statement 
in gdbint.textinfo or should it be modified?

  Would you like to enhance it to specify what to do if
the whole function declaration
TYPE NAME (PARAMS);
doesn't fit into a 80 columns line?

 I am willing to adapt the ARI rule to such recommendations.

Pierre



  


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