blob: 1313ec827cc34c63b2ca61df7837ce712176637c [file] [log] [blame]
Zane Shelleydd156ad2019-10-25 20:59:55 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
Zane Shelleyd478c8c2022-07-13 10:27:35 -05006AlignConsecutiveAssignments: true
7AlignConsecutiveDeclarations: false
Zane Shelleydd156ad2019-10-25 20:59:55 -05008AlignEscapedNewlines: Right
Zane Shelleyd478c8c2022-07-13 10:27:35 -05009AlignOperands: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Zane Shelleyd478c8c2022-07-13 10:27:35 -050012AllowShortBlocksOnASingleLine: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050013AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: Empty
Zane Shelleyd478c8c2022-07-13 10:27:35 -050015AllowShortIfStatementsOnASingleLine: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050016AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
19AlwaysBreakTemplateDeclarations: Yes
20BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Zane Shelley55afd632020-06-03 17:06:30 -050023 AfterCaseLabel: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050024 AfterClass: true
Zane Shelleyd478c8c2022-07-13 10:27:35 -050025 AfterControlStatement: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050026 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
36 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
39BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
43BreakInheritanceList: AfterColon
Zane Shelleyd478c8c2022-07-13 10:27:35 -050044BreakStringLiterals: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
47CompactNamespaces: false
Zane Shelleyd478c8c2022-07-13 10:27:35 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050049ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Zane Shelley5d02cc22022-06-27 10:37:36 -050052DeriveLineEnding: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
62 Priority: 7
63 - Regex: '^"config.h"'
64 Priority: -1
65 - Regex: '^".*\.h"'
66 Priority: 1
67 - Regex: '^".*\.hpp"'
68 Priority: 2
69 - Regex: '^<.*\.h>'
70 Priority: 3
71 - Regex: '^<.*\.hpp>'
72 Priority: 4
73 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
77IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
Zane Shelley5d02cc22022-06-27 10:37:36 -050080KeepEmptyLinesAtTheStartOfBlocks: false
Zane Shelleydd156ad2019-10-25 20:59:55 -050081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
Zane Shelleydd156ad2019-10-25 20:59:55 -050094ReflowComments: true
Zane Shelleyd478c8c2022-07-13 10:27:35 -050095SortIncludes: true
Zane Shelleydd156ad2019-10-25 20:59:55 -050096SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
98SpaceAfterTemplateKeyword: true
99SpaceBeforeAssignmentOperators: true
100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
103SpaceBeforeParens: ControlStatements
104SpaceBeforeRangeBasedForLoopColon: true
105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
Zane Shelleyd478c8c2022-07-13 10:27:35 -0500107SpacesInAngles: false
Zane Shelleydd156ad2019-10-25 20:59:55 -0500108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Zane Shelley55afd632020-06-03 17:06:30 -0500112Standard: Latest
Zane Shelleydd156ad2019-10-25 20:59:55 -0500113TabWidth: 4
Zane Shelley5d02cc22022-06-27 10:37:36 -0500114UseCRLF: false
Zane Shelleydd156ad2019-10-25 20:59:55 -0500115UseTab: Never
Zane Shelleydd156ad2019-10-25 20:59:55 -0500116...
117