|
@@ -1,86 +1,191 @@
|
|
|
|
|
+---
|
|
|
|
|
+Language: Cpp
|
|
|
AccessModifierOffset: -4
|
|
AccessModifierOffset: -4
|
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
|
-AlignConsecutiveAssignments: false
|
|
|
|
|
-AlignConsecutiveDeclarations: false
|
|
|
|
|
|
|
+AlignArrayOfStructures: None
|
|
|
|
|
+AlignConsecutiveMacros: None
|
|
|
|
|
+AlignConsecutiveAssignments: None
|
|
|
|
|
+AlignConsecutiveBitFields: None
|
|
|
|
|
+AlignConsecutiveDeclarations: None
|
|
|
AlignEscapedNewlines: Left
|
|
AlignEscapedNewlines: Left
|
|
|
-AlignOperands: true
|
|
|
|
|
|
|
+AlignOperands: Align
|
|
|
AlignTrailingComments: false
|
|
AlignTrailingComments: false
|
|
|
|
|
+AllowAllArgumentsOnNextLine: true
|
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
|
+AllowShortEnumsOnASingleLine: true
|
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortBlocksOnASingleLine: Never
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortFunctionsOnASingleLine: None
|
|
|
-AllowShortIfStatementsOnASingleLine: true
|
|
|
|
|
|
|
+AllowShortLambdasOnASingleLine: All
|
|
|
|
|
+AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
|
AllowShortLoopsOnASingleLine: true
|
|
AllowShortLoopsOnASingleLine: true
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
-AlwaysBreakTemplateDeclarations: false
|
|
|
|
|
|
|
+AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
|
+AttributeMacros:
|
|
|
|
|
+ - __capability
|
|
|
BinPackArguments: false
|
|
BinPackArguments: false
|
|
|
BinPackParameters: false
|
|
BinPackParameters: false
|
|
|
|
|
+BraceWrapping:
|
|
|
|
|
+ AfterCaseLabel: false
|
|
|
|
|
+ AfterClass: false
|
|
|
|
|
+ AfterControlStatement: Never
|
|
|
|
|
+ AfterEnum: false
|
|
|
|
|
+ AfterFunction: false
|
|
|
|
|
+ AfterNamespace: false
|
|
|
|
|
+ AfterObjCDeclaration: false
|
|
|
|
|
+ AfterStruct: false
|
|
|
|
|
+ AfterUnion: false
|
|
|
|
|
+ AfterExternBlock: false
|
|
|
|
|
+ BeforeCatch: false
|
|
|
|
|
+ BeforeElse: false
|
|
|
|
|
+ BeforeLambdaBody: false
|
|
|
|
|
+ BeforeWhile: false
|
|
|
|
|
+ IndentBraces: false
|
|
|
|
|
+ SplitEmptyFunction: true
|
|
|
|
|
+ SplitEmptyRecord: true
|
|
|
|
|
+ SplitEmptyNamespace: true
|
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
|
+BreakBeforeConceptDeclarations: true
|
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeBraces: Attach
|
|
|
|
|
+BreakBeforeInheritanceComma: false
|
|
|
|
|
+BreakInheritanceList: BeforeColon
|
|
|
BreakBeforeTernaryOperators: false
|
|
BreakBeforeTernaryOperators: false
|
|
|
|
|
+BreakConstructorInitializersBeforeComma: false
|
|
|
BreakConstructorInitializers: BeforeComma
|
|
BreakConstructorInitializers: BeforeComma
|
|
|
|
|
+BreakAfterJavaFieldAnnotations: false
|
|
|
BreakStringLiterals: false
|
|
BreakStringLiterals: false
|
|
|
-ColumnLimit: 99
|
|
|
|
|
|
|
+ColumnLimit: 99
|
|
|
|
|
+CommentPragmas: '^ IWYU pragma:'
|
|
|
|
|
+QualifierAlignment: Leave
|
|
|
CompactNamespaces: false
|
|
CompactNamespaces: false
|
|
|
-ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
ContinuationIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
|
Cpp11BracedListStyle: true
|
|
Cpp11BracedListStyle: true
|
|
|
|
|
+DeriveLineEnding: true
|
|
|
DerivePointerAlignment: false
|
|
DerivePointerAlignment: false
|
|
|
-DisableFormat: false
|
|
|
|
|
|
|
+DisableFormat: false
|
|
|
|
|
+EmptyLineAfterAccessModifier: Never
|
|
|
|
|
+EmptyLineBeforeAccessModifier: LogicalBlock
|
|
|
ExperimentalAutoDetectBinPacking: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
|
|
|
+PackConstructorInitializers: BinPack
|
|
|
|
|
+BasedOnStyle: ''
|
|
|
|
|
+ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
|
|
+AllowAllConstructorInitializersOnNextLine: true
|
|
|
FixNamespaceComments: false
|
|
FixNamespaceComments: false
|
|
|
-
|
|
|
|
|
-IncludeBlocks: Preserve
|
|
|
|
|
|
|
+ForEachMacros:
|
|
|
|
|
+ - foreach
|
|
|
|
|
+ - Q_FOREACH
|
|
|
|
|
+ - BOOST_FOREACH
|
|
|
|
|
+IfMacros:
|
|
|
|
|
+ - KJ_IF_MAYBE
|
|
|
|
|
+IncludeBlocks: Preserve
|
|
|
IncludeCategories:
|
|
IncludeCategories:
|
|
|
- - Regex: '.*'
|
|
|
|
|
- Priority: 1
|
|
|
|
|
|
|
+ - Regex: '.*'
|
|
|
|
|
+ Priority: 1
|
|
|
|
|
+ SortPriority: 0
|
|
|
|
|
+ CaseSensitive: false
|
|
|
|
|
+ - Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
|
+ Priority: 3
|
|
|
|
|
+ SortPriority: 0
|
|
|
|
|
+ CaseSensitive: false
|
|
|
|
|
+ - Regex: '.*'
|
|
|
|
|
+ Priority: 1
|
|
|
|
|
+ SortPriority: 0
|
|
|
|
|
+ CaseSensitive: false
|
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
|
|
|
+IncludeIsMainSourceRegex: ''
|
|
|
|
|
+IndentAccessModifiers: false
|
|
|
IndentCaseLabels: false
|
|
IndentCaseLabels: false
|
|
|
|
|
+IndentCaseBlocks: false
|
|
|
|
|
+IndentGotoLabels: true
|
|
|
IndentPPDirectives: None
|
|
IndentPPDirectives: None
|
|
|
-IndentWidth: 4
|
|
|
|
|
|
|
+IndentExternBlock: AfterExternBlock
|
|
|
|
|
+IndentRequires: false
|
|
|
|
|
+IndentWidth: 4
|
|
|
IndentWrappedFunctionNames: true
|
|
IndentWrappedFunctionNames: true
|
|
|
|
|
+InsertTrailingCommas: None
|
|
|
JavaScriptQuotes: Leave
|
|
JavaScriptQuotes: Leave
|
|
|
JavaScriptWrapImports: true
|
|
JavaScriptWrapImports: true
|
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
|
|
+LambdaBodyIndentation: Signature
|
|
|
MacroBlockBegin: ''
|
|
MacroBlockBegin: ''
|
|
|
-MacroBlockEnd: ''
|
|
|
|
|
|
|
+MacroBlockEnd: ''
|
|
|
MaxEmptyLinesToKeep: 1
|
|
MaxEmptyLinesToKeep: 1
|
|
|
NamespaceIndentation: None
|
|
NamespaceIndentation: None
|
|
|
ObjCBinPackProtocolList: Auto
|
|
ObjCBinPackProtocolList: Auto
|
|
|
ObjCBlockIndentWidth: 4
|
|
ObjCBlockIndentWidth: 4
|
|
|
|
|
+ObjCBreakBeforeNestedBlockParam: true
|
|
|
ObjCSpaceAfterProperty: true
|
|
ObjCSpaceAfterProperty: true
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
-
|
|
|
|
|
-# Taken from git's rules
|
|
|
|
|
PenaltyBreakAssignment: 10
|
|
PenaltyBreakAssignment: 10
|
|
|
PenaltyBreakBeforeFirstCallParameter: 30
|
|
PenaltyBreakBeforeFirstCallParameter: 30
|
|
|
PenaltyBreakComment: 10
|
|
PenaltyBreakComment: 10
|
|
|
PenaltyBreakFirstLessLess: 0
|
|
PenaltyBreakFirstLessLess: 0
|
|
|
|
|
+PenaltyBreakOpenParenthesis: 0
|
|
|
PenaltyBreakString: 10
|
|
PenaltyBreakString: 10
|
|
|
|
|
+PenaltyBreakTemplateDeclaration: 10
|
|
|
PenaltyExcessCharacter: 100
|
|
PenaltyExcessCharacter: 100
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
-
|
|
|
|
|
|
|
+PenaltyIndentedWhitespace: 0
|
|
|
PointerAlignment: Left
|
|
PointerAlignment: Left
|
|
|
-ReflowComments: false
|
|
|
|
|
-SortIncludes: false
|
|
|
|
|
|
|
+PPIndentWidth: -1
|
|
|
|
|
+ReferenceAlignment: Pointer
|
|
|
|
|
+ReflowComments: false
|
|
|
|
|
+RemoveBracesLLVM: false
|
|
|
|
|
+SeparateDefinitionBlocks: Leave
|
|
|
|
|
+ShortNamespaceLines: 1
|
|
|
|
|
+SortIncludes: Never
|
|
|
|
|
+SortJavaStaticImport: Before
|
|
|
SortUsingDeclarations: false
|
|
SortUsingDeclarations: false
|
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterCStyleCast: false
|
|
|
|
|
+SpaceAfterLogicalNot: false
|
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceAfterTemplateKeyword: true
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
|
+SpaceBeforeCaseColon: false
|
|
|
|
|
+SpaceBeforeCpp11BracedList: false
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
|
SpaceBeforeParens: Never
|
|
SpaceBeforeParens: Never
|
|
|
|
|
+SpaceBeforeParensOptions:
|
|
|
|
|
+ AfterControlStatements: false
|
|
|
|
|
+ AfterForeachMacros: false
|
|
|
|
|
+ AfterFunctionDefinitionName: false
|
|
|
|
|
+ AfterFunctionDeclarationName: false
|
|
|
|
|
+ AfterIfMacros: false
|
|
|
|
|
+ AfterOverloadedOperator: false
|
|
|
|
|
+ BeforeNonEmptyParentheses: false
|
|
|
|
|
+SpaceAroundPointerQualifiers: Default
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
|
|
+SpaceInEmptyBlock: false
|
|
|
SpaceInEmptyParentheses: false
|
|
SpaceInEmptyParentheses: false
|
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesBeforeTrailingComments: 1
|
|
|
-SpacesInAngles: false
|
|
|
|
|
|
|
+SpacesInAngles: Never
|
|
|
|
|
+SpacesInConditionalStatement: false
|
|
|
SpacesInContainerLiterals: false
|
|
SpacesInContainerLiterals: false
|
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInCStyleCastParentheses: false
|
|
|
|
|
+SpacesInLineCommentPrefix:
|
|
|
|
|
+ Minimum: 1
|
|
|
|
|
+ Maximum: -1
|
|
|
SpacesInParentheses: false
|
|
SpacesInParentheses: false
|
|
|
SpacesInSquareBrackets: false
|
|
SpacesInSquareBrackets: false
|
|
|
-Standard: Cpp03
|
|
|
|
|
-TabWidth: 4
|
|
|
|
|
-UseTab: Never
|
|
|
|
|
|
|
+SpaceBeforeSquareBrackets: false
|
|
|
|
|
+BitFieldColonSpacing: Both
|
|
|
|
|
+Standard: c++03
|
|
|
|
|
+StatementAttributeLikeMacros:
|
|
|
|
|
+ - Q_EMIT
|
|
|
|
|
+StatementMacros:
|
|
|
|
|
+ - Q_UNUSED
|
|
|
|
|
+ - QT_REQUIRE_VERSION
|
|
|
|
|
+TabWidth: 4
|
|
|
|
|
+UseCRLF: false
|
|
|
|
|
+UseTab: Never
|
|
|
|
|
+WhitespaceSensitiveMacros:
|
|
|
|
|
+ - STRINGIZE
|
|
|
|
|
+ - PP_STRINGIZE
|
|
|
|
|
+ - BOOST_PP_STRINGIZE
|
|
|
|
|
+ - NS_SWIFT_NAME
|
|
|
|
|
+ - CF_SWIFT_NAME
|
|
|
|
|
+...
|
|
|
|
|
+
|