summaryrefslogtreecommitdiffhomepage
path: root/.clang-format
diff options
context:
space:
mode:
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format7
1 files changed, 4 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format
index 3cc08007..eb080eb9 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,8 +1,9 @@
BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignEscapedNewlines: Right
+AlignOperands: Align
AllowAllParametersOfDeclarationOnNextLine: false
-AllowShortBlocksOnASingleLine: false
+AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
@@ -13,7 +14,7 @@ BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
-ColumnLimit: 100
+ColumnLimit: 150
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
@@ -41,6 +42,6 @@ SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
-Standard: Cpp11
+Standard: Latest
TabWidth: 4
UseTab: Never