Set a better `AccessModifierOffset` in `clang-format` (#619)

Default appears to be -2, which causes clang-format to mix tabs and spaces
This commit is contained in:
Jack 2023-12-20 14:01:01 +00:00 committed by GitHub
parent 0438b5c8cf
commit 714282b520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Standard: Cpp11
IndentWidth: 4
TabWidth: 4
UseCRLF: false
AccessModifierOffset: -4
AlignTrailingComments: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true