Revise certain clang-format settings
Before applying the big clang-format, we should probably double-check that the settings are (close enough to) what we want. I would suggest at least evaluating the following:
-
SortIncludes- Currently set to
Never. We should enable this, as it's nice for consistency
- Currently set to
-
IncludeBlocks- Currently set to
Preserve. We should put this toRegroupso that we have consistent ordering here.
- Currently set to
-
BreakBeforeBinaryOperators- Currently set to
None -
NonAssignmentshould make things a bit more readable, especially when combined with other settings such asAlignOperands
- Currently set to
For reference: https://clang.llvm.org/docs/ClangFormatStyleOptions.html
Edited by Niels Alexander Buegel