From 076c189948b89787b34a2a4aded7a9c88f580ee1 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 29 Jul 2023 11:30:33 +0200 Subject: fix: format all languages using clang-format Signed-off-by: Sefa Eyeoglu --- .clang-format | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 51ca0e1c..4f99858a 100644 --- a/.clang-format +++ b/.clang-format @@ -1,16 +1,17 @@ --- -Language: Cpp -BasedOnStyle: Chromium +BasedOnStyle: Chromium IndentWidth: 4 +--- +Language: Cpp AlignConsecutiveMacros: false AlignConsecutiveAssignments: false AllowShortIfStatementsOnASingleLine: false BraceWrapping: - AfterFunction: true + AfterFunction: true SplitEmptyFunction: false SplitEmptyRecord: false SplitEmptyNamespace: false BreakBeforeBraces: Custom BreakConstructorInitializers: BeforeComma -ColumnLimit: 140 +ColumnLimit: 140 Cpp11BracedListStyle: false -- cgit From 71fb38c91f16ce46a7103d8a606de2e0aeb04395 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sat, 29 Jul 2023 13:01:09 +0100 Subject: Fix alignment properties Signed-off-by: TheKodeToad --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 4f99858a..83cfeb86 100644 --- a/.clang-format +++ b/.clang-format @@ -3,8 +3,8 @@ BasedOnStyle: Chromium IndentWidth: 4 --- Language: Cpp -AlignConsecutiveMacros: false -AlignConsecutiveAssignments: false +AlignConsecutiveMacros: None +AlignConsecutiveAssignments: None AllowShortIfStatementsOnASingleLine: false BraceWrapping: AfterFunction: true -- cgit From f256b836f4ea88e253d3a54e10faa124bc5c04f9 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sat, 29 Jul 2023 13:16:21 +0100 Subject: Make more options generic Signed-off-by: TheKodeToad --- .clang-format | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index 83cfeb86..114bcba5 100644 --- a/.clang-format +++ b/.clang-format @@ -1,11 +1,12 @@ --- BasedOnStyle: Chromium IndentWidth: 4 +AllowShortIfStatementsOnASingleLine: false +ColumnLimit: 140 --- Language: Cpp AlignConsecutiveMacros: None AlignConsecutiveAssignments: None -AllowShortIfStatementsOnASingleLine: false BraceWrapping: AfterFunction: true SplitEmptyFunction: false @@ -13,5 +14,4 @@ BraceWrapping: SplitEmptyNamespace: false BreakBeforeBraces: Custom BreakConstructorInitializers: BeforeComma -ColumnLimit: 140 Cpp11BracedListStyle: false -- cgit