|
@@ -1,26 +1,27 @@
|
|
|
---
|
|
|
Language: Cpp
|
|
|
-AccessModifierOffset: -2
|
|
|
-AlignAfterOpenBracket: Align
|
|
|
+# BasedOnStyle: WebKit
|
|
|
+AccessModifierOffset: -4
|
|
|
+AlignAfterOpenBracket: DontAlign
|
|
|
AlignArrayOfStructures: None
|
|
|
AlignConsecutiveMacros: None
|
|
|
AlignConsecutiveAssignments: None
|
|
|
AlignConsecutiveBitFields: None
|
|
|
AlignConsecutiveDeclarations: None
|
|
|
AlignEscapedNewlines: Right
|
|
|
-AlignOperands: Align
|
|
|
-AlignTrailingComments: true
|
|
|
+AlignOperands: DontAlign
|
|
|
+AlignTrailingComments: false
|
|
|
AllowAllArgumentsOnNextLine: true
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
AllowShortEnumsOnASingleLine: true
|
|
|
-AllowShortBlocksOnASingleLine: Never
|
|
|
+AllowShortBlocksOnASingleLine: Empty
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
AllowShortFunctionsOnASingleLine: All
|
|
|
AllowShortLambdasOnASingleLine: All
|
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
-AlwaysBreakAfterDefinitionReturnType: All
|
|
|
-AlwaysBreakAfterReturnType: AllDefinitions
|
|
|
+AlwaysBreakAfterDefinitionReturnType: None
|
|
|
+AlwaysBreakAfterReturnType: None
|
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
|
AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
AttributeMacros:
|
|
@@ -28,35 +29,35 @@ AttributeMacros:
|
|
|
BinPackArguments: true
|
|
|
BinPackParameters: true
|
|
|
BraceWrapping:
|
|
|
- AfterCaseLabel: true
|
|
|
- AfterClass: true
|
|
|
- AfterControlStatement: Always
|
|
|
- AfterEnum: true
|
|
|
+ AfterCaseLabel: false
|
|
|
+ AfterClass: false
|
|
|
+ AfterControlStatement: Never
|
|
|
+ AfterEnum: false
|
|
|
AfterFunction: true
|
|
|
- AfterNamespace: true
|
|
|
- AfterObjCDeclaration: true
|
|
|
- AfterStruct: true
|
|
|
- AfterUnion: true
|
|
|
- AfterExternBlock: true
|
|
|
- BeforeCatch: true
|
|
|
- BeforeElse: true
|
|
|
+ AfterNamespace: false
|
|
|
+ AfterObjCDeclaration: false
|
|
|
+ AfterStruct: false
|
|
|
+ AfterUnion: false
|
|
|
+ AfterExternBlock: false
|
|
|
+ BeforeCatch: false
|
|
|
+ BeforeElse: false
|
|
|
BeforeLambdaBody: false
|
|
|
- BeforeWhile: true
|
|
|
- IndentBraces: true
|
|
|
+ BeforeWhile: false
|
|
|
+ IndentBraces: false
|
|
|
SplitEmptyFunction: true
|
|
|
SplitEmptyRecord: true
|
|
|
SplitEmptyNamespace: true
|
|
|
BreakBeforeBinaryOperators: All
|
|
|
BreakBeforeConceptDeclarations: true
|
|
|
-BreakBeforeBraces: GNU
|
|
|
+BreakBeforeBraces: WebKit
|
|
|
BreakBeforeInheritanceComma: false
|
|
|
BreakInheritanceList: BeforeColon
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
BreakConstructorInitializersBeforeComma: false
|
|
|
-BreakConstructorInitializers: BeforeColon
|
|
|
+BreakConstructorInitializers: BeforeComma
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
BreakStringLiterals: true
|
|
|
-ColumnLimit: 79
|
|
|
+ColumnLimit: 0
|
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
|
QualifierAlignment: Leave
|
|
|
CompactNamespaces: false
|
|
@@ -103,7 +104,7 @@ IndentGotoLabels: true
|
|
|
IndentPPDirectives: None
|
|
|
IndentExternBlock: AfterExternBlock
|
|
|
IndentRequires: false
|
|
|
-IndentWidth: 2
|
|
|
+IndentWidth: 4
|
|
|
IndentWrappedFunctionNames: false
|
|
|
InsertTrailingCommas: None
|
|
|
JavaScriptQuotes: Leave
|
|
@@ -113,11 +114,11 @@ LambdaBodyIndentation: Signature
|
|
|
MacroBlockBegin: ''
|
|
|
MacroBlockEnd: ''
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
-NamespaceIndentation: None
|
|
|
+NamespaceIndentation: Inner
|
|
|
ObjCBinPackProtocolList: Auto
|
|
|
-ObjCBlockIndentWidth: 2
|
|
|
+ObjCBlockIndentWidth: 4
|
|
|
ObjCBreakBeforeNestedBlockParam: true
|
|
|
-ObjCSpaceAfterProperty: false
|
|
|
+ObjCSpaceAfterProperty: true
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
PenaltyBreakAssignment: 2
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
@@ -129,7 +130,7 @@ PenaltyBreakTemplateDeclaration: 10
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
PenaltyIndentedWhitespace: 0
|
|
|
-PointerAlignment: Right
|
|
|
+PointerAlignment: Left
|
|
|
PPIndentWidth: -1
|
|
|
ReferenceAlignment: Pointer
|
|
|
ReflowComments: true
|
|
@@ -144,21 +145,21 @@ SpaceAfterLogicalNot: false
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
SpaceBeforeCaseColon: false
|
|
|
-SpaceBeforeCpp11BracedList: false
|
|
|
+SpaceBeforeCpp11BracedList: true
|
|
|
SpaceBeforeCtorInitializerColon: true
|
|
|
SpaceBeforeInheritanceColon: true
|
|
|
-SpaceBeforeParens: Always
|
|
|
+SpaceBeforeParens: ControlStatements
|
|
|
SpaceBeforeParensOptions:
|
|
|
- AfterControlStatements: false
|
|
|
- AfterForeachMacros: false
|
|
|
+ AfterControlStatements: true
|
|
|
+ AfterForeachMacros: true
|
|
|
AfterFunctionDefinitionName: false
|
|
|
AfterFunctionDeclarationName: false
|
|
|
- AfterIfMacros: false
|
|
|
+ AfterIfMacros: true
|
|
|
AfterOverloadedOperator: false
|
|
|
BeforeNonEmptyParentheses: false
|
|
|
SpaceAroundPointerQualifiers: Default
|
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
|
-SpaceInEmptyBlock: false
|
|
|
+SpaceInEmptyBlock: true
|
|
|
SpaceInEmptyParentheses: false
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
SpacesInAngles: Never
|
|
@@ -172,7 +173,7 @@ SpacesInParentheses: false
|
|
|
SpacesInSquareBrackets: false
|
|
|
SpaceBeforeSquareBrackets: false
|
|
|
BitFieldColonSpacing: Both
|
|
|
-Standard: c++03
|
|
|
+Standard: Latest
|
|
|
StatementAttributeLikeMacros:
|
|
|
- Q_EMIT
|
|
|
StatementMacros:
|