clang-format tweaks

* enforce unix-style line endings
* don't format comment leading spaces
* don't sort includes
This commit is contained in:
Reuben Dunnington 2023-08-15 07:11:34 -07:00
parent c99217920f
commit 55347f315c
Signed by: rdunnington
GPG Key ID: 4EC5290E704FD482
1 changed files with 5 additions and 7 deletions

View File

@ -1,16 +1,14 @@
AllowAllArgumentsOnNextLine: false
BreakBeforeBraces: Allman
ColumnLimit: 0 ColumnLimit: 0
Cpp11BracedListStyle: false
IndentPPDirectives: BeforeHash IndentPPDirectives: BeforeHash
IndentWidth: 4 IndentWidth: 4
LineEnding: LF
MaxEmptyLinesToKeep: 1 MaxEmptyLinesToKeep: 1
PointerAlignment: Left PointerAlignment: Left
SeparateDefinitionBlocks: Always SeparateDefinitionBlocks: Always
SortIncludes: true
SpaceBeforeParens: Never SpaceBeforeParens: Never
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
TabWidth: 4 TabWidth: 4
UseTab: Never UseTab: Never
BreakBeforeBraces: Allman ReflowComments: false
AllowAllArgumentsOnNextLine: false
Cpp11BracedListStyle: false