.clang-format (04c28fad78934cab0c4cb0b4ef9a20f9261b4c1e) | .clang-format (ff1b64f0e891de0d3cab831f6b90b52bb61de4b1) |
---|---|
1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false 8AlignEscapedNewlines: Right 9AlignOperands: Align 10AlignTrailingComments: 11 Kind: Always 12 OverEmptyLines: 1 13AllowAllParametersOfDeclarationOnNextLine: true 14AllowShortBlocksOnASingleLine: Empty 15AllowShortCaseLabelsOnASingleLine: false 16AllowShortFunctionsOnASingleLine: Empty | 1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false 8AlignEscapedNewlines: Right 9AlignOperands: Align 10AlignTrailingComments: 11 Kind: Always 12 OverEmptyLines: 1 13AllowAllParametersOfDeclarationOnNextLine: true 14AllowShortBlocksOnASingleLine: Empty 15AllowShortCaseLabelsOnASingleLine: false 16AllowShortFunctionsOnASingleLine: Empty |
17AllowShortIfStatementsOnASingleLine: false | 17AllowShortIfStatementsOnASingleLine: Never 18AllowShortLambdasOnASingleLine: true |
18AllowShortLoopsOnASingleLine: false 19AlwaysBreakAfterReturnType: None 20AlwaysBreakBeforeMultilineStrings: false 21AlwaysBreakTemplateDeclarations: Yes 22BinPackArguments: true 23BinPackParameters: true | 19AllowShortLoopsOnASingleLine: false 20AlwaysBreakAfterReturnType: None 21AlwaysBreakBeforeMultilineStrings: false 22AlwaysBreakTemplateDeclarations: Yes 23BinPackArguments: true 24BinPackParameters: true |
25BitFieldColonSpacing: None |
|
24BraceWrapping: 25 AfterCaseLabel: true 26 AfterClass: true 27 AfterControlStatement: true 28 AfterEnum: true | 26BraceWrapping: 27 AfterCaseLabel: true 28 AfterClass: true 29 AfterControlStatement: true 30 AfterEnum: true |
31 AfterExternBlock: true |
|
29 AfterFunction: true 30 AfterNamespace: true 31 AfterObjCDeclaration: true 32 AfterStruct: true 33 AfterUnion: true | 32 AfterFunction: true 33 AfterNamespace: true 34 AfterObjCDeclaration: true 35 AfterStruct: true 36 AfterUnion: true |
34 AfterExternBlock: true | |
35 BeforeCatch: true 36 BeforeElse: true | 37 BeforeCatch: true 38 BeforeElse: true |
39 BeforeLambdaBody: false 40 BeforeWhile: false |
|
37 IndentBraces: false 38 SplitEmptyFunction: false 39 SplitEmptyRecord: false 40 SplitEmptyNamespace: false 41BreakAfterAttributes: Never 42BreakBeforeBinaryOperators: None 43BreakBeforeBraces: Custom 44BreakBeforeTernaryOperators: true 45BreakConstructorInitializers: AfterColon 46BreakInheritanceList: AfterColon 47BreakStringLiterals: false 48ColumnLimit: 80 49CommentPragmas: '^ IWYU pragma:' 50CompactNamespaces: false | 41 IndentBraces: false 42 SplitEmptyFunction: false 43 SplitEmptyRecord: false 44 SplitEmptyNamespace: false 45BreakAfterAttributes: Never 46BreakBeforeBinaryOperators: None 47BreakBeforeBraces: Custom 48BreakBeforeTernaryOperators: true 49BreakConstructorInitializers: AfterColon 50BreakInheritanceList: AfterColon 51BreakStringLiterals: false 52ColumnLimit: 80 53CommentPragmas: '^ IWYU pragma:' 54CompactNamespaces: false |
51ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
52ConstructorInitializerIndentWidth: 4 53ContinuationIndentWidth: 4 54Cpp11BracedListStyle: true | 55ConstructorInitializerIndentWidth: 4 56ContinuationIndentWidth: 4 57Cpp11BracedListStyle: true |
55DeriveLineEnding: false | |
56DerivePointerAlignment: false | 58DerivePointerAlignment: false |
57PointerAlignment: Left | |
58DisableFormat: false | 59DisableFormat: false |
59ExperimentalAutoDetectBinPacking: false | |
60FixNamespaceComments: true | 60FixNamespaceComments: true |
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | 61ForEachMacros: 62 - foreach 63 - Q_FOREACH 64 - BOOST_FOREACH |
62IncludeBlocks: Regroup 63IncludeCategories: 64 - Regex: '^[<"](gtest|gmock)' 65 Priority: 7 66 - Regex: '^"config.h"' 67 Priority: -1 68 - Regex: '^".*\.h"' 69 Priority: 1 70 - Regex: '^".*\.hpp"' 71 Priority: 2 72 - Regex: '^<.*\.h>' 73 Priority: 3 74 - Regex: '^<.*\.hpp>' 75 Priority: 4 76 - Regex: '^<.*' 77 Priority: 5 78 - Regex: '.*' 79 Priority: 6 80IndentCaseLabels: true | 65IncludeBlocks: Regroup 66IncludeCategories: 67 - Regex: '^[<"](gtest|gmock)' 68 Priority: 7 69 - Regex: '^"config.h"' 70 Priority: -1 71 - Regex: '^".*\.h"' 72 Priority: 1 73 - Regex: '^".*\.hpp"' 74 Priority: 2 75 - Regex: '^<.*\.h>' 76 Priority: 3 77 - Regex: '^<.*\.hpp>' 78 Priority: 4 79 - Regex: '^<.*' 80 Priority: 5 81 - Regex: '.*' 82 Priority: 6 83IndentCaseLabels: true |
84IndentExternBlock: NoIndent |
|
81IndentRequiresClause: true 82IndentWidth: 4 83IndentWrappedFunctionNames: true 84InsertNewlineAtEOF: true 85KeepEmptyLinesAtTheStartOfBlocks: false 86LambdaBodyIndentation: OuterScope 87LineEnding: LF 88MacroBlockBegin: '' 89MacroBlockEnd: '' 90MaxEmptyLinesToKeep: 1 91NamespaceIndentation: None 92ObjCBlockIndentWidth: 2 93ObjCSpaceAfterProperty: false 94ObjCSpaceBeforeProtocolList: true | 85IndentRequiresClause: true 86IndentWidth: 4 87IndentWrappedFunctionNames: true 88InsertNewlineAtEOF: true 89KeepEmptyLinesAtTheStartOfBlocks: false 90LambdaBodyIndentation: OuterScope 91LineEnding: LF 92MacroBlockBegin: '' 93MacroBlockEnd: '' 94MaxEmptyLinesToKeep: 1 95NamespaceIndentation: None 96ObjCBlockIndentWidth: 2 97ObjCSpaceAfterProperty: false 98ObjCSpaceBeforeProtocolList: true |
99PackConstructorInitializers: BinPack |
|
95PenaltyBreakAssignment: 25 96PenaltyBreakBeforeFirstCallParameter: 19 97PenaltyBreakComment: 300 98PenaltyBreakFirstLessLess: 120 99PenaltyBreakString: 1000 100PenaltyExcessCharacter: 1000000 101PenaltyReturnTypeOnItsOwnLine: 60 102PenaltyIndentedWhitespace: 0 | 100PenaltyBreakAssignment: 25 101PenaltyBreakBeforeFirstCallParameter: 19 102PenaltyBreakComment: 300 103PenaltyBreakFirstLessLess: 120 104PenaltyBreakString: 1000 105PenaltyExcessCharacter: 1000000 106PenaltyReturnTypeOnItsOwnLine: 60 107PenaltyIndentedWhitespace: 0 |
108PointerAlignment: Left |
|
103QualifierAlignment: Left 104ReferenceAlignment: Left 105ReflowComments: true 106RequiresClausePosition: OwnLine 107RequiresExpressionIndentation: Keyword | 109QualifierAlignment: Left 110ReferenceAlignment: Left 111ReflowComments: true 112RequiresClausePosition: OwnLine 113RequiresExpressionIndentation: Keyword |
108SortIncludes: true | 114SortIncludes: CaseSensitive |
109SortUsingDeclarations: true 110SpaceAfterCStyleCast: false 111SpaceAfterTemplateKeyword: true 112SpaceBeforeAssignmentOperators: true 113SpaceBeforeCpp11BracedList: false 114SpaceBeforeCtorInitializerColon: true 115SpaceBeforeInheritanceColon: true 116SpaceBeforeParens: ControlStatements 117SpaceBeforeRangeBasedForLoopColon: true 118SpaceInEmptyParentheses: false 119SpacesBeforeTrailingComments: 1 | 115SortUsingDeclarations: true 116SpaceAfterCStyleCast: false 117SpaceAfterTemplateKeyword: true 118SpaceBeforeAssignmentOperators: true 119SpaceBeforeCpp11BracedList: false 120SpaceBeforeCtorInitializerColon: true 121SpaceBeforeInheritanceColon: true 122SpaceBeforeParens: ControlStatements 123SpaceBeforeRangeBasedForLoopColon: true 124SpaceInEmptyParentheses: false 125SpacesBeforeTrailingComments: 1 |
120SpacesInAngles: false | 126SpacesInAngles: Never |
121SpacesInContainerLiterals: true 122SpacesInCStyleCastParentheses: false 123SpacesInParentheses: false 124SpacesInSquareBrackets: false 125Standard: Latest 126TabWidth: 4 127UseTab: Never 128... 129 | 127SpacesInContainerLiterals: true 128SpacesInCStyleCastParentheses: false 129SpacesInParentheses: false 130SpacesInSquareBrackets: false 131Standard: Latest 132TabWidth: 4 133UseTab: Never 134... 135 |