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] | |
On Thu, Nov 26, 2009 at 12:04 AM, Tom Tromey <tromey@redhat.com> wrote:"Basile" == Basile STARYNKEVITCH <basile@starynkevitch.net> writes:Basile> Of course, not every one has it (notably those working on non-linux Basile> systems), but for those who have it, requiring that every C file Basile> inside GCC has been automatically indented with GNU indent could Basile> help.
I looked at this once. GNU indent doesn't have all the features needed to make it correctly support the GCC coding style. I filed a bunch of GNU indent bug reports, but AFAIK none of them has ever been fixed.
You could still do this if you didn't mind a coding style change at the same time. And of course, this will only help the .c and .h files, not everything else.
Not to mention that I'd find this a quite pointless excercise. I trust humans much more than the little brain of GNU indent (or whatever you can code into a reasonable replacement).
Regards.
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |