This is the mail archive of the gcc@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]

Coding Conventions !!


=?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.


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