mirror of
https://github.com/zlib-ng/minizip-ng
synced 2026-08-25 14:26:08 -04:00
Adopting a clang-format based on Google style
This commit is contained in:
parent
39255ca709
commit
483950d09d
1 changed files with 22 additions and 0 deletions
22
.clang-format
Normal file
22
.clang-format
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
BasedOnStyle: Google
|
||||
|
||||
AccessModifierOffset: -2
|
||||
AlignArrayOfStructures: Right
|
||||
AlignConsecutiveBitFields: AcrossEmptyLines
|
||||
AlignConsecutiveMacros: AcrossEmptyLines
|
||||
AlignEscapedNewlines: Right
|
||||
AlignOperands: DontAlign
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLambdasOnASingleLine: Empty
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
ColumnLimit: 120
|
||||
DerivePointerAlignment: false
|
||||
IndentCaseLabels: false
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentWidth: 4
|
||||
InsertNewlineAtEOF: true
|
||||
PointerAlignment: Right
|
||||
PPIndentWidth: 2
|
||||
SortIncludes: Never
|
||||
Loading…
Add table
Add a link
Reference in a new issue