.clang-format (826c9d4310fc7d346f27c6de21c8e76b72071136) | .clang-format (6492f524b7b2dfc9f04ee0ad68c4c2e35bbbcd25) |
---|---|
1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false | 1--- 2Language: Cpp 3# BasedOnStyle: LLVM 4AccessModifierOffset: -2 5AlignAfterOpenBracket: Align 6AlignConsecutiveAssignments: false 7AlignConsecutiveDeclarations: false |
8AlignEscapedNewlinesLeft: false | 8AlignEscapedNewlines: Right |
9AlignOperands: true 10AlignTrailingComments: true 11AllowAllParametersOfDeclarationOnNextLine: true 12AllowShortBlocksOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: None 15AllowShortIfStatementsOnASingleLine: false 16AllowShortLoopsOnASingleLine: false | 9AlignOperands: true 10AlignTrailingComments: true 11AllowAllParametersOfDeclarationOnNextLine: true 12AllowShortBlocksOnASingleLine: false 13AllowShortCaseLabelsOnASingleLine: false 14AllowShortFunctionsOnASingleLine: None 15AllowShortIfStatementsOnASingleLine: false 16AllowShortLoopsOnASingleLine: false |
17AlwaysBreakAfterDefinitionReturnType: None | |
18AlwaysBreakAfterReturnType: None 19AlwaysBreakBeforeMultilineStrings: false | 17AlwaysBreakAfterReturnType: None 18AlwaysBreakBeforeMultilineStrings: false |
20AlwaysBreakTemplateDeclarations: true | 19AlwaysBreakTemplateDeclarations: Yes |
21BinPackArguments: true 22BinPackParameters: true 23BraceWrapping: 24 AfterCaseLabel: true 25 AfterClass: true 26 AfterControlStatement: true 27 AfterEnum: true 28 AfterFunction: true 29 AfterNamespace: true 30 AfterObjCDeclaration: true 31 AfterStruct: true 32 AfterUnion: true | 20BinPackArguments: true 21BinPackParameters: true 22BraceWrapping: 23 AfterCaseLabel: true 24 AfterClass: true 25 AfterControlStatement: true 26 AfterEnum: true 27 AfterFunction: true 28 AfterNamespace: true 29 AfterObjCDeclaration: true 30 AfterStruct: true 31 AfterUnion: true |
32 AfterExternBlock: true |
|
33 BeforeCatch: true 34 BeforeElse: true 35 IndentBraces: false | 33 BeforeCatch: true 34 BeforeElse: true 35 IndentBraces: false |
36 SplitEmptyFunction: false 37 SplitEmptyRecord: false 38 SplitEmptyNamespace: false |
|
36BreakBeforeBinaryOperators: None 37BreakBeforeBraces: Custom 38BreakBeforeTernaryOperators: true 39BreakConstructorInitializers: AfterColon | 39BreakBeforeBinaryOperators: None 40BreakBeforeBraces: Custom 41BreakBeforeTernaryOperators: true 42BreakConstructorInitializers: AfterColon |
43BreakInheritanceList: AfterColon 44BreakStringLiterals: true |
|
40ColumnLimit: 80 41CommentPragmas: '^ IWYU pragma:' | 45ColumnLimit: 80 46CommentPragmas: '^ IWYU pragma:' |
47CompactNamespaces: false |
|
42ConstructorInitializerAllOnOneLineOrOnePerLine: false 43ConstructorInitializerIndentWidth: 4 44ContinuationIndentWidth: 4 45Cpp11BracedListStyle: true 46DerivePointerAlignment: false 47PointerAlignment: Left 48DisableFormat: false 49ExperimentalAutoDetectBinPacking: false 50FixNamespaceComments: true 51ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 52IncludeBlocks: Regroup 53IncludeCategories: 54 - Regex: '^[<"](gtest|gmock)' | 48ConstructorInitializerAllOnOneLineOrOnePerLine: false 49ConstructorInitializerIndentWidth: 4 50ContinuationIndentWidth: 4 51Cpp11BracedListStyle: true 52DerivePointerAlignment: false 53PointerAlignment: Left 54DisableFormat: false 55ExperimentalAutoDetectBinPacking: false 56FixNamespaceComments: true 57ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] 58IncludeBlocks: Regroup 59IncludeCategories: 60 - Regex: '^[<"](gtest|gmock)' |
55 Priority: 5 | 61 Priority: 7 |
56 - Regex: '^"config.h"' 57 Priority: -1 | 62 - Regex: '^"config.h"' 63 Priority: -1 |
58 - Regex: '^".*\.hpp"' | 64 - Regex: '^".*\.h"' |
59 Priority: 1 | 65 Priority: 1 |
60 - Regex: '^<.*\.h>' | 66 - Regex: '^".*\.hpp"' |
61 Priority: 2 | 67 Priority: 2 |
62 - Regex: '^<.*' | 68 - Regex: '^<.*\.h>' |
63 Priority: 3 | 69 Priority: 3 |
64 - Regex: '.*' | 70 - Regex: '^<.*\.hpp>' |
65 Priority: 4 | 71 Priority: 4 |
72 - Regex: '^<.*' 73 Priority: 5 74 - Regex: '.*' 75 Priority: 6 |
|
66IndentCaseLabels: true 67IndentWidth: 4 68IndentWrappedFunctionNames: true 69KeepEmptyLinesAtTheStartOfBlocks: true 70MacroBlockBegin: '' 71MacroBlockEnd: '' 72MaxEmptyLinesToKeep: 1 73NamespaceIndentation: None --- 5 unchanged lines hidden (view full) --- 79PenaltyBreakFirstLessLess: 120 80PenaltyBreakString: 1000 81PenaltyExcessCharacter: 1000000 82PenaltyReturnTypeOnItsOwnLine: 60 83ReflowComments: true 84SortIncludes: true 85SortUsingDeclarations: true 86SpaceAfterCStyleCast: false | 76IndentCaseLabels: true 77IndentWidth: 4 78IndentWrappedFunctionNames: true 79KeepEmptyLinesAtTheStartOfBlocks: true 80MacroBlockBegin: '' 81MacroBlockEnd: '' 82MaxEmptyLinesToKeep: 1 83NamespaceIndentation: None --- 5 unchanged lines hidden (view full) --- 89PenaltyBreakFirstLessLess: 120 90PenaltyBreakString: 1000 91PenaltyExcessCharacter: 1000000 92PenaltyReturnTypeOnItsOwnLine: 60 93ReflowComments: true 94SortIncludes: true 95SortUsingDeclarations: true 96SpaceAfterCStyleCast: false |
97SpaceAfterTemplateKeyword: true |
|
87SpaceBeforeAssignmentOperators: true | 98SpaceBeforeAssignmentOperators: true |
99SpaceBeforeCpp11BracedList: false 100SpaceBeforeCtorInitializerColon: true 101SpaceBeforeInheritanceColon: true |
|
88SpaceBeforeParens: ControlStatements | 102SpaceBeforeParens: ControlStatements |
103SpaceBeforeRangeBasedForLoopColon: true |
|
89SpaceInEmptyParentheses: false 90SpacesBeforeTrailingComments: 1 91SpacesInAngles: false 92SpacesInContainerLiterals: true 93SpacesInCStyleCastParentheses: false 94SpacesInParentheses: false 95SpacesInSquareBrackets: false | 104SpaceInEmptyParentheses: false 105SpacesBeforeTrailingComments: 1 106SpacesInAngles: false 107SpacesInContainerLiterals: true 108SpacesInCStyleCastParentheses: false 109SpacesInParentheses: false 110SpacesInSquareBrackets: false |
96Standard: Cpp11 | 111Standard: Latest |
97TabWidth: 4 98UseTab: Never 99... | 112TabWidth: 4 113UseTab: Never 114... |