mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +01:00
ff3c221516
For header only library like cppzmq, whitespace style inherited from libzmq is too restrictive. Solution: relaxing whitespace before parens from always to in control statements only, increased max column width from 80 to 85 and removing requirement of whitespace after template keyword.
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterControlStatement: false
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterObjCDeclaration: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeCatch: true
|
|
BeforeElse: false
|
|
IndentBraces: false
|
|
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
IndentCaseLabels: true
|
|
BinPackArguments: true
|
|
BinPackParameters: false
|
|
AlignTrailingComments: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AlwaysBreakTemplateDeclarations: false
|
|
ColumnLimit: 85
|
|
MaxEmptyLinesToKeep: 2
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
ContinuationIndentWidth: 2
|
|
PointerAlignment: Right
|
|
ReflowComments: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInAngles: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Cpp11
|
|
|
|
SortIncludes: false
|
|
|
|
FixNamespaceComments: false
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
SpaceAfterTemplateKeyword: false
|
|
AlignAfterOpenBracket: Align
|
|
AlignOperands: true
|
|
BreakConstructorInitializers: AfterColon
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
SpaceAfterCStyleCast: true
|
|
BreakBeforeTernaryOperators: true
|