Merge pull request #2026 from RincewindsHat/clang-format-config

Add clang-format config file
This commit is contained in:
Lorenz Kästle 2024-10-14 11:54:43 +02:00 committed by GitHub
commit 9a051790ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

10
.clang-format Normal file
View file

@ -0,0 +1,10 @@
BasedOnStyle: LLVM
UseTab: ForContinuationAndIndentation
IndentWidth: 4
TabWidth: 4
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Attach
AlignConsecutiveMacros: true
ColumnLimit: 180
IndentPPDirectives: AfterHash
SortIncludes: Never