blob: 1313ec827cc34c63b2ca61df7837ce712176637c [file] [log] [blame]
Ben Tyner6c1c3a12020-01-09 09:17:50 -06001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
Zane Shelley9b41feb2022-07-13 10:24:16 -05006AlignConsecutiveAssignments: true
7AlignConsecutiveDeclarations: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -06008AlignEscapedNewlines: Right
Zane Shelley9b41feb2022-07-13 10:24:16 -05009AlignOperands: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Zane Shelley9b41feb2022-07-13 10:24:16 -050012AllowShortBlocksOnASingleLine: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060013AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: Empty
Zane Shelley9b41feb2022-07-13 10:24:16 -050015AllowShortIfStatementsOnASingleLine: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060016AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
19AlwaysBreakTemplateDeclarations: Yes
20BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Zane Shelleycac5dc62020-06-03 17:09:22 -050023 AfterCaseLabel: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060024 AfterClass: true
Zane Shelley9b41feb2022-07-13 10:24:16 -050025 AfterControlStatement: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060026 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 Shelley9b41feb2022-07-13 10:24:16 -050044BreakStringLiterals: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
47CompactNamespaces: false
Zane Shelley9b41feb2022-07-13 10:24:16 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060049ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Zane Shelleyb82cbf72022-06-27 10:28:06 -050052DeriveLineEnding: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060053DerivePointerAlignment: 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 Shelleyb82cbf72022-06-27 10:28:06 -050080KeepEmptyLinesAtTheStartOfBlocks: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -060081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
Ben Tyner6c1c3a12020-01-09 09:17:50 -060094ReflowComments: true
Zane Shelley9b41feb2022-07-13 10:24:16 -050095SortIncludes: true
Ben Tyner6c1c3a12020-01-09 09:17:50 -060096SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
98SpaceAfterTemplateKeyword: true
99SpaceBeforeAssignmentOperators: true
100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
103SpaceBeforeParens: ControlStatements
104SpaceBeforeRangeBasedForLoopColon: true
105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
Zane Shelley9b41feb2022-07-13 10:24:16 -0500107SpacesInAngles: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Zane Shelleycac5dc62020-06-03 17:09:22 -0500112Standard: Latest
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600113TabWidth: 4
Zane Shelleyb82cbf72022-06-27 10:28:06 -0500114UseCRLF: false
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600115UseTab: Never
Ben Tyner6c1c3a12020-01-09 09:17:50 -0600116...
117