This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Coding Conventions !!
- From: Andrew Haley <aph at redhat dot com>
- To: Leon Taylor <leon_taylor_007 at yahoo dot co dot in>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 26 Dec 2002 22:06:48 +0000 (GMT)
- Subject: 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.