aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-25 18:03:49 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:53 +0200
commit7eaf077f1f75194e15968e239ff69892e5e1b648 (patch)
tree909174674ea9f556467e6ea44d94c0780062b71c /.clang-format
parent63d35e97ac7b332616058c667f750b13006f2323 (diff)
style: improve clang-format & clang-tidy configs
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index a795a13..4147c1f 100644
--- a/.clang-format
+++ b/.clang-format
@@ -5,7 +5,9 @@ TabWidth: 4
BreakBeforeBraces: Allman
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
+AllowShortLambdasOnASingleLine: None
IndentCaseLabels: false
ColumnLimit: 90
AccessModifierOffset: -4
AlwaysBreakTemplateDeclarations: Yes
+ConstructorInitializerAllOnOneLineOrOnePerLine: Yes