mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
format:clang format update
This commit is contained in:
parent
2ef3c560a7
commit
59a9401f81
|
@ -1,25 +1,27 @@
|
||||||
# Format Style Options - Created with Clang Power Tools
|
|
||||||
---
|
---
|
||||||
|
BasedOnStyle: LLVM
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
AlignOperands: AlignAfterOperator
|
AlignEscapedNewlines: Left
|
||||||
AllowAllArgumentsOnNextLine: false
|
AllowAllArgumentsOnNextLine: 'false'
|
||||||
AllowShortBlocksOnASingleLine: Never
|
AllowShortBlocksOnASingleLine: 'false'
|
||||||
AllowShortFunctionsOnASingleLine: None
|
AllowShortFunctionsOnASingleLine: None
|
||||||
AllowShortIfStatementsOnASingleLine: Never
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
BasedOnStyle: LLVM
|
BinPackArguments: 'false'
|
||||||
BinPackArguments: false
|
BinPackParameters: 'false'
|
||||||
BinPackParameters: false
|
|
||||||
BreakBeforeBinaryOperators: None
|
|
||||||
BreakBeforeBraces: Allman
|
BreakBeforeBraces: Allman
|
||||||
BreakBeforeTernaryOperators: true
|
|
||||||
BreakConstructorInitializers: AfterColon
|
BreakConstructorInitializers: AfterColon
|
||||||
ColumnLimit: 120
|
ColumnLimit: '120'
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
||||||
ConstructorInitializerIndentWidth : 2
|
ConstructorInitializerIndentWidth: '2'
|
||||||
ContinuationIndentWidth: 2
|
ContinuationIndentWidth: '2'
|
||||||
MaxEmptyLinesToKeep: 2
|
MaxEmptyLinesToKeep: '2'
|
||||||
PointerAlignment: Middle
|
PointerAlignment: Middle
|
||||||
SortIncludes: false
|
SortIncludes: 'false'
|
||||||
SpacesInAngles: true
|
SortUsingDeclarations: 'false'
|
||||||
SpacesInParentheses: true
|
SpaceBeforeParens: Never
|
||||||
|
SpacesInAngles: 'true'
|
||||||
|
SpacesInParentheses: 'true'
|
||||||
|
SpacesInSquareBrackets: 'true'
|
||||||
|
UseTab: Never
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "howto/**"
|
- "howto/**"
|
||||||
- "*.md"
|
- "*.md"
|
||||||
|
- ".clang-format"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
1
.github/workflows/ubuntu.yml
vendored
1
.github/workflows/ubuntu.yml
vendored
|
@ -14,6 +14,7 @@ on:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "howto/**"
|
- "howto/**"
|
||||||
- "*.md"
|
- "*.md"
|
||||||
|
- ".clang-format"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
@ -14,6 +14,7 @@ on:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "howto/**"
|
- "howto/**"
|
||||||
- "*.md"
|
- "*.md"
|
||||||
|
- ".clang-format"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
|
Loading…
Reference in a new issue