Skip to content

Commit

Permalink
Update .clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
baderouaich authored Dec 11, 2024
1 parent f060bef commit 248035c
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Generated from CLion C/C++ Code Style settings
BasedOnStyle: LLVM
BasedOnStyle: Google
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: None
AlignOperands: Align
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
Expand All @@ -14,7 +12,6 @@ AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
Expand All @@ -38,6 +35,9 @@ ContinuationIndentWidth: 2
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 2
BracedInitializerIndentWidth: 2
PPIndentWidth: 2
ConstructorInitializerIndentWidth: 2
KeepEmptyLinesAtTheStartOfBlocks: true
MaxEmptyLinesToKeep: 2
NamespaceIndentation: All
Expand All @@ -63,7 +63,13 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
UseTab: Never
IndentAccessModifiers: true
AccessModifierOffset: 0
AccessModifierOffset: -2
ReferenceAlignment: Left
FixNamespaceComments: false
IndentAccessModifiers: false
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
BreakBeforeBraces: Attach
SortIncludes: Never

0 comments on commit 248035c

Please sign in to comment.