Skip to content

Commit

Permalink
Set a better AccessModifierOffset in clang-format (#619)
Browse files Browse the repository at this point in the history
Default appears to be -2, which causes clang-format to mix tabs and spaces
  • Loading branch information
ASpoonPlaysGames authored Dec 20, 2023
1 parent 0438b5c commit 714282b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Standard: Cpp11
IndentWidth: 4
TabWidth: 4
UseCRLF: false
AccessModifierOffset: -4
AlignTrailingComments: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
Expand Down

0 comments on commit 714282b

Please sign in to comment.