summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephiles <cae222@yahoo.com>2021-05-13 22:34:40 -0500
committerZephiles <cae222@yahoo.com>2021-05-13 22:34:40 -0500
commit69bade9b6a77557e1ba381bf79bb72566e9a00c3 (patch)
tree3ffb9296e618df76bd8fbfcbe60e4f1f448e76b9
parentf0a56756b68c157a971f28902f28ec58b0d94b35 (diff)
Update .clang-format
-rw-r--r--.clang-format32
1 files changed, 30 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index f96b1ae..f5c5d8f 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,7 +1,18 @@
---
BasedOnStyle: Chromium
+AlignEscapedNewlines: Left
+AlignOperands: 'true'
+AlignTrailingComments: 'true'
+AllowAllArgumentsOnNextLine: 'false'
+AllowAllParametersOfDeclarationOnNextLine: 'false'
+AllowShortIfStatementsOnASingleLine: Never
+AlwaysBreakTemplateDeclarations: 'Yes'
+BinPackArguments: 'false'
+BinPackParameters: 'false'
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'true'
+BreakConstructorInitializers: AfterColon
+BreakInheritanceList: AfterColon
ColumnLimit: '128'
CompactNamespaces: 'false'
Cpp11BracedListStyle: 'true'
@@ -11,8 +22,25 @@ IndentWidth: '4'
IndentWrappedFunctionNames: 'true'
Language: Cpp
NamespaceIndentation: All
-SpacesInContainerLiterals: 'false'
-SpacesInParentheses: 'false'
+PointerAlignment: Left
+SortIncludes: 'true'
+SortUsingDeclarations: 'true'
+SpaceAfterCStyleCast: 'true'
+SpaceAfterLogicalNot: 'false'
+SpaceAfterTemplateKeyword: 'false'
+SpaceBeforeAssignmentOperators: 'true'
+SpaceBeforeCpp11BracedList: 'true'
+SpaceBeforeCtorInitializerColon: 'false'
+SpaceBeforeInheritanceColon: 'false'
+SpaceBeforeParens: ControlStatements
+SpaceBeforeRangeBasedForLoopColon: 'true'
+SpaceInEmptyParentheses: 'false'
+SpacesBeforeTrailingComments: '5'
+SpacesInAngles: 'false'
+SpacesInCStyleCastParentheses: 'false'
+SpacesInContainerLiterals: 'true'
+SpacesInParentheses: 'true'
+TabWidth: '4'
UseTab: Never
...