Hi all, I think we shouldn't make drastic changes to the source style because that will just create a lot of busywork and a lot of source changes that will introduce needless headaches when comparing different revisions etc.
Instead, I think we should make only the minimal adjustments to the source style that will allow use of widespread tools. But, if there's going to be a discussion about brace styles, I would vote for K&R's One True Brace Style. :-) Cheers, Nathan On Tue, Mar 18, 2025 at 3:21 PM Alan C. Assis <acas...@gmail.com> wrote: > Hi Michal, > > That makes sense, actually I think Altman is similar (but more elegant) > GNU style: > > https://en.wikipedia.org/wiki/Indentation_style > > BR, > > Alan > > On Mon, Mar 17, 2025 at 7:32 PM Michał Łyszczek <michal.lyszc...@bofc.pl> > wrote: > > > Peter van der Perk: > > > The main issue I was facing with clang-format was the indentation with > > NuttX > > > BreakBeforeBraces style see > > > https://github.com/llvm/llvm-project/issues/44188 > > > > Maybe it's time to say it out loud. GNU indent style for curly brackets > > should die ;). Changing these to Allman style should be trivial without > > the risk of breaking anything. > > > > This would enable use of well established project insead of maintaining > > internal one. >