mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Adopting a clang-format based on Google style
This commit is contained in:
parent
39255ca709
commit
483950d09d
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…
x
Reference in New Issue
Block a user