Skip to content

Commit

Permalink
Update code style πŸ‘¨πŸ»β€πŸ’»
Browse files Browse the repository at this point in the history
1. Function wrapping changed, braces moved to new line.
2. Change the indentation of public and private to align with class.
  • Loading branch information
imliubo authored Sep 4, 2024
1 parent c41ce39 commit db38a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
Language: Cpp
BasedOnStyle: Google
AccessModifierOffset: -1
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
Expand Down Expand Up @@ -29,7 +29,7 @@ BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
Expand All @@ -42,7 +42,7 @@ BraceWrapping:
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
Expand Down

0 comments on commit db38a93

Please sign in to comment.