diff --git a/.clang-format b/.clang-format index 8342e5c..403ba05 100644 --- a/.clang-format +++ b/.clang-format @@ -64,7 +64,7 @@ BitFieldColonSpacing: Both BraceWrapping: AfterCaseLabel: true AfterClass: true - AfterControlStatement: Always + AfterControlStatement: false AfterEnum: true AfterExternBlock: true AfterFunction: true @@ -86,7 +86,7 @@ BreakAfterJavaFieldAnnotations: false BreakArrays: true BreakBeforeBinaryOperators: All BreakBeforeConceptDeclarations: Always -BreakBeforeBraces: GNU +BreakBeforeBraces: Linux BreakBeforeInlineASMColon: OnlyMultiline BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeColon @@ -136,7 +136,7 @@ IndentRequiresClause: true IndentWidth: 2 IndentWrappedFunctionNames: false InsertBraces: false -InsertNewlineAtEOF: false +InsertNewlineAtEOF: true InsertTrailingCommas: None IntegerLiteralSeparator: Binary: 0 @@ -198,7 +198,7 @@ SpaceBeforeCpp11BracedList: false SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true SpaceBeforeJsonColon: false -SpaceBeforeParens: Never +SpaceBeforeParens: false SpaceBeforeParensOptions: AfterControlStatements: false AfterForeachMacros: false @@ -206,11 +206,11 @@ SpaceBeforeParensOptions: AfterFunctionDeclarationName: false AfterIfMacros: false AfterOverloadedOperator: false - AfterPlacementOperator: true + AfterPlacementOperator: false AfterRequiresInClause: false AfterRequiresInExpression: false BeforeNonEmptyParentheses: false -SpaceBeforeRangeBasedForLoopColon: true +SpaceBeforeRangeBasedForLoopColon: false SpaceBeforeSquareBrackets: false SpaceInEmptyBlock: false SpacesBeforeTrailingComments: 1