Skip to content

Commit

Permalink
updated clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 28, 2023
1 parent cb8ea6a commit 0245770
Showing 1 changed file with 34 additions and 8 deletions.
42 changes: 34 additions & 8 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
# Documentation about the style options and their meaning
# https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html

Language: Cpp
AccessModifierOffset: 0
AlignConsecutiveMacros: true
---
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'true'
AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBraces: Linux
ColumnLimit: 150
ConstructorInitializerIndentWidth: 2
ColumnLimit: '100'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
FixNamespaceComments: 'true'
IndentAccessModifiers: 'true'
IndentCaseLabels: 'true'
IndentWidth: '2'
Language: Cpp
NamespaceIndentation: All
PointerAlignment: Left
SpaceAfterCStyleCast: 'true'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
TabWidth: '2'
UseTab: Never

...

0 comments on commit 0245770

Please sign in to comment.