88 lines
2.4 KiB
YAML
88 lines
2.4 KiB
YAML
Language: Cpp
|
|
AccessModifierOffset: -2
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignConsecutiveAssignments: true
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
AlwaysBreakTemplateDeclarations: true
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterClass: true
|
|
AfterControlStatement: true
|
|
AfterEnum: true
|
|
AfterFunction: true
|
|
AfterNamespace: true
|
|
AfterStruct: true
|
|
AfterUnion: true
|
|
BeforeCatch: true
|
|
BeforeElse: true
|
|
IndentBraces: false
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeInheritanceComma: false
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: false
|
|
BreakStringLiterals: false
|
|
ColumnLimit: 100
|
|
CommentPragmas: 'NOLINT'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
ConstructorInitializerIndentWidth: 2
|
|
ContinuationIndentWidth: 2
|
|
Cpp11BracedListStyle: false
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ExperimentalAutoDetectBinPacking: true
|
|
FixNamespaceComments: true
|
|
IncludeCategories:
|
|
- Regex: '"common.hpp"'
|
|
Priority: 1
|
|
- Regex: '^"(Channel|RTC|handles)/'
|
|
Priority: 3
|
|
- Regex: '"*"'
|
|
Priority: 2
|
|
- Regex: '^<(uv|openssl|srtp|json|netstring)(.|/)'
|
|
Priority: 4
|
|
- Regex: '<*>'
|
|
Priority: 5
|
|
IncludeIsMainRegex: '$'
|
|
IndentCaseLabels: true
|
|
IndentWidth: 2
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: All
|
|
PenaltyBreakBeforeFirstCallParameter: 5
|
|
PenaltyBreakComment: 100
|
|
PenaltyBreakFirstLessLess: 200
|
|
PenaltyBreakString: 20
|
|
PenaltyExcessCharacter: 10
|
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
|
PointerAlignment: Left
|
|
ReflowComments: true
|
|
SortIncludes: true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Cpp11
|
|
TabWidth: 2
|
|
UseTab: ForIndentation
|