Coding Conventions !!

Andrew Haley aph@redhat.com
Fri Dec 27 06:45:00 GMT 2002


=?iso-8859-1?Q?Leon=5FTaylor?= writes:
 > We need to follow some coding conventions
 > with regards to formatting of source code
 > before submiiting patches to GCC.
 > 
 > Is there any tool which can reduce the 
 > this formatting effort.The "indent" command 
 > comes close. If people use more smarter methods
 > please let me know.

emacs does the right thing most of the time.  Use 	       

(c-set-style "gnu")

Andrew.



More information about the Gcc mailing list