2014-05-27 01:32:49 +00:00
|
|
|
---
|
2018-10-06 01:27:38 +00:00
|
|
|
# Global config for all languages
|
2016-06-24 08:41:05 +00:00
|
|
|
AccessModifierOffset: -2
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlinesLeft: false
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
2014-05-27 01:32:49 +00:00
|
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
2016-06-24 08:41:05 +00:00
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: true
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2017-01-04 11:45:40 +00:00
|
|
|
BraceWrapping:
|
2020-01-05 00:25:20 +00:00
|
|
|
AfterCaseLabel: true
|
2017-01-04 11:45:40 +00:00
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: true
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
IndentBraces: false
|
2016-06-24 08:41:05 +00:00
|
|
|
BreakBeforeBinaryOperators: None
|
2017-01-04 11:45:40 +00:00
|
|
|
BreakBeforeBraces: Custom
|
2016-06-24 08:41:05 +00:00
|
|
|
BreakBeforeTernaryOperators: false
|
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
|
ColumnLimit: 100
|
|
|
|
CommentPragmas: '^ (IWYU pragma:|NOLINT)'
|
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
|
ContinuationIndentWidth: 4
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
DerivePointerAlignment: false
|
|
|
|
DisableFormat: false
|
|
|
|
ForEachMacros: []
|
|
|
|
IncludeCategories:
|
2017-01-23 07:38:06 +00:00
|
|
|
- Regex: '^<[Ww]indows\.h>$'
|
2016-06-24 08:41:05 +00:00
|
|
|
Priority: 1
|
2017-01-23 07:38:06 +00:00
|
|
|
- Regex: '^<'
|
2016-06-24 08:41:05 +00:00
|
|
|
Priority: 2
|
2017-01-23 07:38:06 +00:00
|
|
|
- Regex: '^"'
|
|
|
|
Priority: 3
|
2016-06-24 08:41:05 +00:00
|
|
|
IndentCaseLabels: false
|
|
|
|
IndentWidth: 2
|
|
|
|
IndentWrappedFunctionNames: false
|
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
MacroBlockBegin: ''
|
|
|
|
MacroBlockEnd: ''
|
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
|
NamespaceIndentation: None
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
|
PenaltyBreakComment: 300
|
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
|
PenaltyBreakString: 1000
|
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
|
PointerAlignment: Left
|
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: true
|
|
|
|
SpaceAfterCStyleCast: false
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceInEmptyParentheses: false
|
|
|
|
SpacesBeforeTrailingComments: 2
|
|
|
|
SpacesInAngles: false
|
|
|
|
SpacesInContainerLiterals: true
|
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
SpacesInParentheses: false
|
|
|
|
SpacesInSquareBrackets: false
|
2022-06-21 22:57:32 +00:00
|
|
|
Standard: Latest
|
2016-06-24 08:41:05 +00:00
|
|
|
TabWidth: 2
|
|
|
|
UseTab: Never
|
2018-10-06 01:27:38 +00:00
|
|
|
---
|
|
|
|
# C++ Specific Config
|
|
|
|
Language: Cpp
|
|
|
|
---
|
|
|
|
# Objective-C Specific Config
|
|
|
|
Language: ObjC
|
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
BraceWrapping:
|
|
|
|
AfterObjCDeclaration: true
|
2014-05-27 01:32:49 +00:00
|
|
|
...
|
|
|
|
|