On Tue, 03 Apr 2012 13:51:56 -0700 Ian Lance Taylor <i...@google.com> wrote:
> Paweł Sikora <pl...@agmk.net> writes: > > > On Tuesday 03 of April 2012 13:37:50 Diego Novillo wrote: > >> > >> Concurrently with this, Lawrence and Ian are working on the C++ coding > >> guidelines. The draft is stored at http://gcc.gnu.org/wiki/CppConventions. > > > > what about using http://astyle.sourceforge.net/astyle.html for code > > checkers? > > I don't think we want to automatically reformat the entire GCC codebase. > Or at least, if we do, we don't want to confuse that with the C++ > transition. But I believe we could install as a rule that every genuine C++ source file be indented with astyle -gnu -s2 and perhaps even provide an 'indent' make target for that purpose. I really think that systematic reindentation would help us a lot. What do you think? Cheers -- 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 mine, sont seulement les miennes} ***