On 20 June 2018 at 03:33, Allan Sandfeld Jensen <k...@carewolf.com> wrote: > Btw. Just for your information. > > I have attached a few random examples of what we can look forward too after > running an auto-"beautifying" tool over our hand-formated Qt code. And these > changes are NOT something we can configure out ouf of in clang-format, it is > just cases where it can't do any better.
You can surround code with "// clang-format off" and "// clang-format on". We've switched to clang-format in git hooks when clang-6 got out, and it works well. > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development