RFC Coding Guidelines: Formatting Class Member Declarations | Haiku Project

Maybe I’m misunderatanding how the tool is supposed to work but I have a fundamental dislike of tools that emit only one option, and that is the source of truth.

Say we would allow two options in the style of code, but clang format always picks one, and thus that is the only allowed style makes no sense to me.

I’ve had that recently with inline declarations of one-liner functions in class headers.

I want to put those on 4 lines for readability, clang-format wants to put it in one line.