goldendict-ng/.clang-format

69 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-06-19 01:46:39 +00:00
# Format Style Options - Created with Clang Power Tools
---
2022-10-28 02:49:27 +00:00
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
2022-10-28 02:49:27 +00:00
AlignConsecutiveAssignments: Consecutive
AlignEscapedNewlines: Left
2022-10-28 02:49:27 +00:00
AlignOperands: DontAlign
AlignTrailingComments: true
2022-06-19 01:46:39 +00:00
AllowAllArgumentsOnNextLine: false
2022-10-28 02:49:27 +00:00
AllowShortBlocksOnASingleLine: Empty
AllowShortLambdasOnASingleLine: None
AllowShortEnumsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
2022-06-19 01:46:39 +00:00
BasedOnStyle: LLVM
BinPackArguments: false
BinPackParameters: false
2022-10-28 02:49:27 +00:00
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: false
2022-10-28 02:49:27 +00:00
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
2022-10-28 02:49:27 +00:00
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: false
BeforeLambdaBody: false
BeforeWhile: false
2022-06-19 01:46:39 +00:00
BreakBeforeBinaryOperators: NonAssignment
2022-10-28 02:49:27 +00:00
BreakBeforeBraces: Custom
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
2022-10-28 02:49:27 +00:00
BreakStringLiterals: false
2022-06-19 01:46:39 +00:00
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth : 2
2022-06-19 01:46:39 +00:00
ContinuationIndentWidth: 2
2022-10-28 02:49:27 +00:00
DeriveLineEnding: false
EmptyLineBeforeAccessModifier: Leave
ExperimentalAutoDetectBinPacking: true
FixNamespaceComments: false
IncludeBlocks: Regroup
IndentCaseLabels: true
IndentAccessModifiers: false
2022-10-28 02:49:27 +00:00
IndentPPDirectives: BeforeHash
MaxEmptyLinesToKeep: 2
NamespaceIndentation: Inner
PointerAlignment: Middle
2022-10-28 02:49:27 +00:00
ReflowComments: false
2022-06-19 01:46:39 +00:00
SortIncludes: false
SortUsingDeclarations: false
2022-10-28 02:49:27 +00:00
SpaceAfterCStyleCast: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceBeforeParens: Never
2022-06-19 01:46:39 +00:00
SpacesInAngles: true
2022-10-28 02:49:27 +00:00
SpacesInConditionalStatement: true
2022-06-19 01:46:39 +00:00
SpacesInParentheses: true
SpacesInSquareBrackets: true
UseTab: Never
...