Skip to content

Commit

Permalink
linting: adjust clang-format options
Browse files Browse the repository at this point in the history
The commit makes clang-format config more suitable to our codebase.
  • Loading branch information
CuriousGeorgiy committed Jan 24, 2024
1 parent bf27f48 commit 3c2e477
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ IndentWidth: 8
UseTab: Always

AccessModifierOffset: -8
AlignAfterOpenBracket: Align
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakAfterReturnType: TopLevel
BraceWrapping:
SplitEmptyRecord: false
ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
SpaceAfterTemplateKeyword: false
SpaceInEmptyBlock: false
PointerAlignment: Right
ReferenceAlignment: Right

0 comments on commit 3c2e477

Please sign in to comment.