Commit fe48cbb6 authored by Dominik Charousset's avatar Dominik Charousset

Update clang-format config

parent c42dcaf0
...@@ -9,27 +9,22 @@ AllowShortFunctionsOnASingleLine: false ...@@ -9,27 +9,22 @@ AllowShortFunctionsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true AlwaysBreakTemplateDeclarations: true
BinPackParameters: true BinPackParameters: true
BreakBeforeBinaryOperators: NonAssignment BreakBeforeBinaryOperators: true
BreakBeforeBraces: Attach BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: false BreakBeforeTernaryOperators: false
ColumnLimit: 80 ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: true ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4 ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2 ContinuationIndentWidth: 2
Cpp11BracedListStyle: true Cpp11BracedListStyle: true
IndentCaseLabels: true IndentCaseLabels: true
IndentFunctionDeclarationAfterType: false
IndentWidth: 2 IndentWidth: 2
MaxEmptyLinesToKeep: 1 MaxEmptyLinesToKeep: 1
NamespaceIndentation: None NamespaceIndentation: None
# Force pointers to the type
DerivePointerAlignment: false
PointerAlignment: Left PointerAlignment: Left
# Put space after = and after control statements
SpaceBeforeAssignmentOperators: true SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements SpaceAfterControlStatementKeyword: true
SpaceInEmptyParentheses: false SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1 SpacesBeforeTrailingComments: 1
SpacesInAngles: false SpacesInAngles: false
...@@ -39,4 +34,3 @@ Standard: Cpp11 ...@@ -39,4 +34,3 @@ Standard: Cpp11
UseTab: Never UseTab: Never
BreakConstructorInitializersBeforeComma: false BreakConstructorInitializersBeforeComma: false
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment