blob: cab313967cdc655bcf05dbe6a4daa0a0095e81ea [file] [log] [blame]
Ed Tanous99923322017-03-03 14:21:24 -08001---
Ed Tanous1abe55e2018-09-05 08:30:59 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
Ed Tanous99923322017-03-03 14:21:24 -08005AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -05008AlignEscapedNewlines: Right
Ed Tanous99923322017-03-03 14:21:24 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070014AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Ed Tanous99923322017-03-03 14:21:24 -080017AlwaysBreakAfterReturnType: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070018AlwaysBreakBeforeMultilineStrings: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050019AlwaysBreakTemplateDeclarations: Yes
Ed Tanous99923322017-03-03 14:21:24 -080020BinPackArguments: true
21BinPackParameters: true
Ed Tanous55c7b7a2018-05-22 15:27:24 -070022BraceWrapping:
Gunnar Mills1214b7e2020-06-04 10:11:30 -050023 AfterCaseLabel: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050032 AfterExternBlock: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070033 BeforeCatch: true
34 BeforeElse: true
Ed Tanous99923322017-03-03 14:21:24 -080035 IndentBraces: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Ed Tanous99923322017-03-03 14:21:24 -080039BreakBeforeBinaryOperators: None
Ed Tanous1abe55e2018-09-05 08:30:59 -070040BreakBeforeBraces: Custom
Ed Tanous99923322017-03-03 14:21:24 -080041BreakBeforeTernaryOperators: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070042BreakConstructorInitializers: AfterColon
Gunnar Mills1214b7e2020-06-04 10:11:30 -050043BreakInheritanceList: AfterColon
George Liu0fda0f12021-11-16 10:06:17 +080044BreakStringLiterals: false
Ed Tanous1ccd57c2017-03-21 13:15:58 -070045ColumnLimit: 80
Ed Tanous99923322017-03-03 14:21:24 -080046CommentPragmas: '^ IWYU pragma:'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050047CompactNamespaces: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
Ed Tanous99923322017-03-03 14:21:24 -080049ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050052DerivePointerAlignment: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070053PointerAlignment: Left
Ed Tanous99923322017-03-03 14:21:24 -080054DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070056FixNamespaceComments: true
Ed Tanous99923322017-03-03 14:21:24 -080057ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Ed Tanous1abe55e2018-09-05 08:30:59 -070058IncludeBlocks: Regroup
Ed Tanous55c7b7a2018-05-22 15:27:24 -070059IncludeCategories:
Ed Tanous9140a672017-04-24 17:01:32 -070060 - Regex: '^[<"](gtest|gmock)'
Gunnar Mills1214b7e2020-06-04 10:11:30 -050061 Priority: 7
Ed Tanous1abe55e2018-09-05 08:30:59 -070062 - Regex: '^"config.h"'
63 Priority: -1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050064 - Regex: '^".*\.h"'
Ed Tanous99923322017-03-03 14:21:24 -080065 Priority: 1
Gunnar Mills1214b7e2020-06-04 10:11:30 -050066 - Regex: '^".*\.hpp"'
Ed Tanous99923322017-03-03 14:21:24 -080067 Priority: 2
Gunnar Mills1214b7e2020-06-04 10:11:30 -050068 - Regex: '^<.*\.h>'
Ed Tanous99923322017-03-03 14:21:24 -080069 Priority: 3
Gunnar Mills1214b7e2020-06-04 10:11:30 -050070 - Regex: '^<.*\.hpp>'
Ed Tanous9140a672017-04-24 17:01:32 -070071 Priority: 4
Gunnar Mills1214b7e2020-06-04 10:11:30 -050072 - Regex: '^<.*'
73 Priority: 5
74 - Regex: '.*'
75 Priority: 6
Ed Tanous99923322017-03-03 14:21:24 -080076IndentCaseLabels: true
Ed Tanous1abe55e2018-09-05 08:30:59 -070077IndentWidth: 4
78IndentWrappedFunctionNames: true
79KeepEmptyLinesAtTheStartOfBlocks: true
Ed Tanous99923322017-03-03 14:21:24 -080080MacroBlockBegin: ''
81MacroBlockEnd: ''
82MaxEmptyLinesToKeep: 1
83NamespaceIndentation: None
84ObjCBlockIndentWidth: 2
85ObjCSpaceAfterProperty: false
Ed Tanous1abe55e2018-09-05 08:30:59 -070086ObjCSpaceBeforeProtocolList: true
87PenaltyBreakBeforeFirstCallParameter: 19
Ed Tanous99923322017-03-03 14:21:24 -080088PenaltyBreakComment: 300
89PenaltyBreakFirstLessLess: 120
90PenaltyBreakString: 1000
91PenaltyExcessCharacter: 1000000
Ed Tanous1abe55e2018-09-05 08:30:59 -070092PenaltyReturnTypeOnItsOwnLine: 60
Ed Tanous99923322017-03-03 14:21:24 -080093ReflowComments: true
Ed Tanous1ff48782017-04-18 12:45:08 -070094SortIncludes: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050095SortUsingDeclarations: true
Ed Tanous99923322017-03-03 14:21:24 -080096SpaceAfterCStyleCast: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -050097SpaceAfterTemplateKeyword: true
Ed Tanous99923322017-03-03 14:21:24 -080098SpaceBeforeAssignmentOperators: true
Gunnar Mills1214b7e2020-06-04 10:11:30 -050099SpaceBeforeCpp11BracedList: false
100SpaceBeforeCtorInitializerColon: true
101SpaceBeforeInheritanceColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800102SpaceBeforeParens: ControlStatements
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500103SpaceBeforeRangeBasedForLoopColon: true
Ed Tanous99923322017-03-03 14:21:24 -0800104SpaceInEmptyParentheses: false
Ed Tanous1abe55e2018-09-05 08:30:59 -0700105SpacesBeforeTrailingComments: 1
Ed Tanous99923322017-03-03 14:21:24 -0800106SpacesInAngles: false
107SpacesInContainerLiterals: true
108SpacesInCStyleCastParentheses: false
109SpacesInParentheses: false
110SpacesInSquareBrackets: false
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500111Standard: Latest
Ed Tanous1abe55e2018-09-05 08:30:59 -0700112TabWidth: 4
Ed Tanous99923322017-03-03 14:21:24 -0800113UseTab: Never
114...
Gunnar Mills1214b7e2020-06-04 10:11:30 -0500115