aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-24 17:13:52 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitdb6edcd473a684420e9a7611b24462df21165c1b (patch)
tree9646bdb4f5f6e339a0a01873b44e0b185476ce56 /.clang-format
parentb36d072ad7a7b9c6e30fcb25d6bbb001a8393468 (diff)
style: improve function and brace styling
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format8
1 files changed, 7 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 4147c1f..782b0a9 100644
--- a/.clang-format
+++ b/.clang-format
@@ -10,4 +10,10 @@ IndentCaseLabels: false
ColumnLimit: 90
AccessModifierOffset: -4
AlwaysBreakTemplateDeclarations: Yes
-ConstructorInitializerAllOnOneLineOrOnePerLine: Yes
+ConstructorInitializerAllOnOneLineOrOnePerLine: true
+AllowAllArgumentsOnNextLine: false
+AllowAllParametersOfDeclarationOnNextLine: false
+BinPackArguments: false
+BinPackParameters: false
+AlignAfterOpenBracket: BlockIndent
+Cpp11BracedListStyle: false