From 55347f315ca48c2bdf12e5ad8553c52c9d6ac67c Mon Sep 17 00:00:00 2001 From: Reuben Dunnington Date: Tue, 15 Aug 2023 07:11:34 -0700 Subject: [PATCH] clang-format tweaks * enforce unix-style line endings * don't format comment leading spaces * don't sort includes --- .clang-format | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.clang-format b/.clang-format index 4cd7e22..e4db128 100644 --- a/.clang-format +++ b/.clang-format @@ -1,16 +1,14 @@ +AllowAllArgumentsOnNextLine: false +BreakBeforeBraces: Allman ColumnLimit: 0 +Cpp11BracedListStyle: false IndentPPDirectives: BeforeHash IndentWidth: 4 +LineEnding: LF MaxEmptyLinesToKeep: 1 PointerAlignment: Left SeparateDefinitionBlocks: Always -SortIncludes: true SpaceBeforeParens: Never -SpacesInLineCommentPrefix: - Minimum: 1 - Maximum: -1 TabWidth: 4 UseTab: Never -BreakBeforeBraces: Allman -AllowAllArgumentsOnNextLine: false -Cpp11BracedListStyle: false \ No newline at end of file +ReflowComments: false \ No newline at end of file