Procházet zdrojové kódy

Modify clang-format according to #207

bel před 9 roky
rodič
revize
1494876a16
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      .clang-format

+ 4 - 1
.clang-format

@@ -9,7 +9,6 @@ ColumnLimit: 80
 
 Language: Cpp
 
-AccessModifierOffset: 2
 AlignAfterOpenBracket: true
 AllowAllParametersOfDeclarationOnNextLine: false
 AllowShortBlocksOnASingleLine: false
@@ -17,11 +16,15 @@ AllowShortCaseLabelsOnASingleLine: false
 AllowShortFunctionsOnASingleLine: None
 AllowShortIfStatementsOnASingleLine: false
 AllowShortLoopsOnASingleLine: false
+AlwaysBreakAfterDefinitionReturnType: TopLevel
 BinPackArguments: false
 BinPackParameters: false
+BreakBeforeBinaryOperators: NonAssignment
 BreakBeforeBraces: Linux
 DerivePointerAlignment: false
 MaxEmptyLinesToKeep: 2
+PenaltyBreakBeforeFirstCallParameter: 100
+
 SpaceBeforeParens: ControlStatements
 SpaceInEmptyParentheses: false
 SpacesInSquareBrackets: false