mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
format:add clang format file
This commit is contained in:
parent
b728004926
commit
a0dc91f86d
15
.clang-format
Normal file
15
.clang-format
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Format Style Options - Created with Clang Power Tools
|
||||||
|
---
|
||||||
|
AllowShortFunctionsOnASingleLine: None
|
||||||
|
AllowShortIfStatementsOnASingleLine: true
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
BinPackParameters: false
|
||||||
|
BinPackArguments: false
|
||||||
|
BreakBeforeBraces: Allman
|
||||||
|
BreakConstructorInitializers: AfterColon
|
||||||
|
ColumnLimit: 160
|
||||||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||||
|
ConstructorInitializerIndentWidth : 2
|
||||||
|
ContinuationIndentWidth: 2
|
||||||
|
MaxEmptyLinesToKeep: 2
|
||||||
|
...
|
Loading…
Reference in a new issue