|
|
@@ -1,95 +1,165 @@
|
|
|
---
|
|
|
-Language: Cpp
|
|
|
+Language: Cpp
|
|
|
AccessModifierOffset: -4
|
|
|
AlignAfterOpenBracket: Align
|
|
|
+AlignConsecutiveMacros: true
|
|
|
AlignConsecutiveAssignments: true
|
|
|
+AlignConsecutiveBitFields: true
|
|
|
AlignConsecutiveDeclarations: true
|
|
|
-AlignEscapedNewlinesLeft: true
|
|
|
-AlignOperands: true
|
|
|
-AlignTrailingComments: true
|
|
|
+AlignEscapedNewlines: true
|
|
|
+AlignOperands: true
|
|
|
+AlignTrailingComments: false
|
|
|
+AllowAllArgumentsOnNextLine: true
|
|
|
+AllowAllConstructorInitializersOnNextLine: true
|
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
|
+AllowShortEnumsOnASingleLine: true
|
|
|
AllowShortBlocksOnASingleLine: false
|
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
|
-AllowShortFunctionsOnASingleLine: Inline
|
|
|
-AllowShortIfStatementsOnASingleLine: false
|
|
|
+AllowShortFunctionsOnASingleLine: false
|
|
|
+AllowShortLambdasOnASingleLine: All
|
|
|
+AllowShortIfStatementsOnASingleLine: Never
|
|
|
AllowShortLoopsOnASingleLine: false
|
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
|
AlwaysBreakAfterReturnType: TopLevelDefinitions
|
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
|
-AlwaysBreakTemplateDeclarations: true
|
|
|
+AlwaysBreakTemplateDeclarations: MultiLine
|
|
|
+AttributeMacros:
|
|
|
+ - __capability
|
|
|
BinPackArguments: true
|
|
|
BinPackParameters: true
|
|
|
-BraceWrapping:
|
|
|
- AfterClass: false
|
|
|
- AfterControlStatement: false
|
|
|
- AfterEnum: false
|
|
|
- AfterFunction: true
|
|
|
- AfterNamespace: false
|
|
|
+BraceWrapping:
|
|
|
+ AfterCaseLabel: false
|
|
|
+ AfterClass: false
|
|
|
+ AfterControlStatement: Never
|
|
|
+ AfterEnum: false
|
|
|
+ AfterFunction: true
|
|
|
+ AfterNamespace: false
|
|
|
AfterObjCDeclaration: false
|
|
|
- AfterStruct: false
|
|
|
- AfterUnion: false
|
|
|
- BeforeCatch: false
|
|
|
- BeforeElse: false
|
|
|
- IndentBraces: 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
|
|
|
+BreakBeforeConceptDeclarations: true
|
|
|
BreakBeforeBraces: WebKit
|
|
|
+BreakBeforeInheritanceComma: true
|
|
|
+BreakInheritanceList: BeforeColon
|
|
|
BreakBeforeTernaryOperators: true
|
|
|
-BreakConstructorInitializersBeforeComma: true
|
|
|
+BreakConstructorInitializersBeforeComma: false
|
|
|
+BreakConstructorInitializers: BeforeComma
|
|
|
BreakAfterJavaFieldAnnotations: false
|
|
|
BreakStringLiterals: true
|
|
|
-ColumnLimit: 100
|
|
|
-CommentPragmas: '^ IWYU pragma:'
|
|
|
+ColumnLimit: 100
|
|
|
+CommentPragmas: "^ IWYU pragma:"
|
|
|
+CompactNamespaces: false
|
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
|
ConstructorInitializerIndentWidth: 4
|
|
|
ContinuationIndentWidth: 4
|
|
|
Cpp11BracedListStyle: false
|
|
|
+DeriveLineEnding: true
|
|
|
DerivePointerAlignment: true
|
|
|
-DisableFormat: false
|
|
|
-ExperimentalAutoDetectBinPacking: false
|
|
|
-ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
|
|
-IncludeCategories:
|
|
|
- - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
- Priority: 2
|
|
|
- - Regex: '^(<|"(gtest|isl|json)/)'
|
|
|
- Priority: 3
|
|
|
- - Regex: '.*'
|
|
|
- Priority: 1
|
|
|
-IncludeIsMainRegex: '$'
|
|
|
+DisableFormat: false
|
|
|
+EmptyLineBeforeAccessModifier: LogicalBlock
|
|
|
+ExperimentalAutoDetectBinPacking: true
|
|
|
+FixNamespaceComments: false
|
|
|
+ForEachMacros:
|
|
|
+ - foreach
|
|
|
+ - Q_FOREACH
|
|
|
+ - BOOST_FOREACH
|
|
|
+StatementAttributeLikeMacros:
|
|
|
+ - Q_EMIT
|
|
|
+IncludeBlocks: Preserve
|
|
|
+IncludeCategories:
|
|
|
+ - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
+ Priority: 2
|
|
|
+ SortPriority: 0
|
|
|
+ CaseSensitive: false
|
|
|
+ - Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
+ Priority: 3
|
|
|
+ SortPriority: 0
|
|
|
+ CaseSensitive: false
|
|
|
+ - Regex: ".*"
|
|
|
+ Priority: 1
|
|
|
+ SortPriority: 0
|
|
|
+ CaseSensitive: false
|
|
|
+IncludeIsMainRegex: "(Test)?$"
|
|
|
+IncludeIsMainSourceRegex: ""
|
|
|
IndentCaseLabels: false
|
|
|
-IndentWidth: 4
|
|
|
+IndentCaseBlocks: false
|
|
|
+IndentGotoLabels: true
|
|
|
+IndentPPDirectives: None
|
|
|
+IndentExternBlock: AfterExternBlock
|
|
|
+IndentRequires: false
|
|
|
+IndentWidth: 4
|
|
|
IndentWrappedFunctionNames: false
|
|
|
+InsertTrailingCommas: None
|
|
|
JavaScriptQuotes: Leave
|
|
|
JavaScriptWrapImports: true
|
|
|
-KeepEmptyLinesAtTheStartOfBlocks: false
|
|
|
-MacroBlockBegin: ''
|
|
|
-MacroBlockEnd: ''
|
|
|
+KeepEmptyLinesAtTheStartOfBlocks: true
|
|
|
+MacroBlockBegin: ""
|
|
|
+MacroBlockEnd: ""
|
|
|
MaxEmptyLinesToKeep: 1
|
|
|
NamespaceIndentation: Inner
|
|
|
+ObjCBinPackProtocolList: Auto
|
|
|
ObjCBlockIndentWidth: 4
|
|
|
+ObjCBreakBeforeNestedBlockParam: true
|
|
|
ObjCSpaceAfterProperty: true
|
|
|
ObjCSpaceBeforeProtocolList: true
|
|
|
+PenaltyBreakAssignment: 2
|
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
|
PenaltyBreakComment: 300
|
|
|
PenaltyBreakFirstLessLess: 120
|
|
|
PenaltyBreakString: 1000
|
|
|
+PenaltyBreakTemplateDeclaration: 10
|
|
|
PenaltyExcessCharacter: 1000000
|
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
|
-PointerAlignment: Right
|
|
|
-ReflowComments: true
|
|
|
-SortIncludes: true
|
|
|
+PenaltyIndentedWhitespace: 0
|
|
|
+PointerAlignment: Left
|
|
|
+ReflowComments: true
|
|
|
+SortIncludes: true
|
|
|
+SortJavaStaticImport: Before
|
|
|
+SortUsingDeclarations: true
|
|
|
SpaceAfterCStyleCast: true
|
|
|
+SpaceAfterLogicalNot: false
|
|
|
SpaceAfterTemplateKeyword: true
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
+SpaceBeforeCaseColon: false
|
|
|
+SpaceBeforeCpp11BracedList: true
|
|
|
+SpaceBeforeCtorInitializerColon: true
|
|
|
+SpaceBeforeInheritanceColon: true
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
+SpaceAroundPointerQualifiers: Default
|
|
|
+SpaceBeforeRangeBasedForLoopColon: true
|
|
|
+SpaceInEmptyBlock: true
|
|
|
SpaceInEmptyParentheses: false
|
|
|
SpacesBeforeTrailingComments: 1
|
|
|
-SpacesInAngles: false
|
|
|
+SpacesInAngles: false
|
|
|
+SpacesInConditionalStatement: false
|
|
|
SpacesInContainerLiterals: true
|
|
|
SpacesInCStyleCastParentheses: false
|
|
|
SpacesInParentheses: false
|
|
|
SpacesInSquareBrackets: false
|
|
|
-Standard: Cpp11
|
|
|
-TabWidth: 8
|
|
|
-UseTab: Never
|
|
|
-...
|
|
|
+SpaceBeforeSquareBrackets: false
|
|
|
+BitFieldColonSpacing: Both
|
|
|
+Standard: Latest
|
|
|
+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
|
|
|
+---
|
|
|
|