News for hackers. Stuff that matters.
Re:Clang-format configurator by stinos on Friday October 30, 2015 @02:54PM (#10479771)
Even though we've had a clang format file for a while this is still nice to have, and pretty well done as well. Now I'd just wish clang-format would allow formatting C++ constructor initializer lists like

  Foo() :
    a( 0 ),
    b( 0 )
  {
  }
which we happen to find the most readable and which afaik is not that uncommon. Just a couple of weeks ago I even looked into submitting a patch but, shame on me, gave up after going throigh the source for an hour or so. It's extremely well written but it was just too much for a quick fix.
Re:Clang-format configurator by zed0 on Friday October 30, 2015 @03:15PM (#10479896)
Thanks for the feedback. This is one of my (and my work mate's) most wanted features of clang-format. I'd like the ConstructorInitializerAllOnOneLineOrOnePerLine option to break before the first argument too, similarly for arguments etc.