2014-05-26 19:32:49 -06:00
|
|
|
---
|
2018-10-05 19:27:38 -06:00
|
|
|
# Global config for all languages
|
2016-06-24 02:41:05 -06:00
|
|
|
AccessModifierOffset: -2
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
AlignConsecutiveAssignments: false
|
|
|
|
AlignConsecutiveDeclarations: false
|
|
|
|
AlignEscapedNewlinesLeft: false
|
|
|
|
AlignOperands: true
|
|
|
|
AlignTrailingComments: true
|
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
2014-05-26 19:32:49 -06:00
|
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
2016-06-24 02:41:05 -06:00
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
|
AlwaysBreakAfterReturnType: None
|
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
|
AlwaysBreakTemplateDeclarations: true
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
2017-01-04 04:45:40 -07:00
|
|
|
BraceWrapping:
|
2020-01-04 17:25:20 -07:00
|
|
|
AfterCaseLabel: true
|
2017-01-04 04:45:40 -07:00
|
|
|
AfterClass: true
|
|
|
|
AfterControlStatement: true
|
|
|
|
AfterEnum: true
|
|
|
|
AfterFunction: true
|
|
|
|
AfterNamespace: true
|
|
|
|
AfterStruct: true
|
|
|
|
AfterUnion: true
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
IndentBraces: false
|
2016-06-24 02:41:05 -06:00
|
|
|
BreakBeforeBinaryOperators: None
|
2017-01-04 04:45:40 -07:00
|
|
|
BreakBeforeBraces: Custom
|
2016-06-24 02:41:05 -06: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 00:38:06 -07:00
|
|
|
- Regex: '^<[Ww]indows\.h>$'
|
2016-06-24 02:41:05 -06:00
|
|
|
Priority: 1
|
2017-01-23 00:38:06 -07:00
|
|
|
- Regex: '^<'
|
2016-06-24 02:41:05 -06:00
|
|
|
Priority: 2
|
2017-01-23 00:38:06 -07:00
|
|
|
- Regex: '^"'
|
|
|
|
Priority: 3
|
2016-06-24 02:41:05 -06: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 16:57:32 -06:00
|
|
|
Standard: Latest
|
2016-06-24 02:41:05 -06:00
|
|
|
TabWidth: 2
|
|
|
|
UseTab: Never
|
2018-10-05 19:27:38 -06:00
|
|
|
---
|
|
|
|
# C++ Specific Config
|
|
|
|
Language: Cpp
|
|
|
|
---
|
|
|
|
# Objective-C Specific Config
|
|
|
|
Language: ObjC
|
|
|
|
ObjCBlockIndentWidth: 2
|
|
|
|
ObjCSpaceAfterProperty: false
|
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
|
BraceWrapping:
|
|
|
|
AfterObjCDeclaration: true
|
2014-05-26 19:32:49 -06:00
|
|
|
...
|
|
|
|
|