blob: 5f0cb0956f27c11976912f95fa03b05d7cf1e142 [file] [log] [blame]
Ed Tanous167e2372018-05-07 11:59:10 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Brad Bishop23520882022-05-26 21:39:53 -04008AlignEscapedNewlines: Right
Brad Bishopa99e1092023-02-03 14:33:08 -05009AlignOperands: Align
Ed Tanous167e2372018-05-07 11:59:10 -070010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Brad Bishopa99e1092023-02-03 14:33:08 -050012AllowShortBlocksOnASingleLine: Empty
Ed Tanous167e2372018-05-07 11:59:10 -070013AllowShortCaseLabelsOnASingleLine: false
Brad Bishopa99e1092023-02-03 14:33:08 -050014AllowShortFunctionsOnASingleLine: Empty
Ed Tanous167e2372018-05-07 11:59:10 -070015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Ed Tanous167e2372018-05-07 11:59:10 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Brad Bishop23520882022-05-26 21:39:53 -040019AlwaysBreakTemplateDeclarations: Yes
Ed Tanous167e2372018-05-07 11:59:10 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Brad Bishop23520882022-05-26 21:39:53 -040023 AfterCaseLabel: true
Ed Tanous167e2372018-05-07 11:59:10 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Brad Bishop23520882022-05-26 21:39:53 -040032 AfterExternBlock: true
Ed Tanous167e2372018-05-07 11:59:10 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Brad Bishop23520882022-05-26 21:39:53 -040036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Ed Tanous167e2372018-05-07 11:59:10 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Brad Bishop23520882022-05-26 21:39:53 -040043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Ed Tanous167e2372018-05-07 11:59:10 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Brad Bishop23520882022-05-26 21:39:53 -040047CompactNamespaces: false
Ed Tanous167e2372018-05-07 11:59:10 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Brad Bishop23520882022-05-26 21:39:53 -040052DeriveLineEnding: false
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050053DerivePointerAlignment: false
Brad Bishop23520882022-05-26 21:39:53 -040054PointerAlignment: Left
Ed Tanous167e2372018-05-07 11:59:10 -070055DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050059IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Brad Bishop23520882022-05-26 21:39:53 -040062 Priority: 7
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050063 - Regex: '^"config.h"'
64 Priority: -1
Brad Bishop23520882022-05-26 21:39:53 -040065 - Regex: '^".*\.h"'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050066 Priority: 1
Brad Bishop23520882022-05-26 21:39:53 -040067 - Regex: '^".*\.hpp"'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050068 Priority: 2
Brad Bishop23520882022-05-26 21:39:53 -040069 - Regex: '^<.*\.h>'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050070 Priority: 3
Brad Bishop23520882022-05-26 21:39:53 -040071 - Regex: '^<.*\.hpp>'
Matt Spinlercc6ee9c2018-09-19 13:23:13 -050072 Priority: 4
Brad Bishop23520882022-05-26 21:39:53 -040073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Ed Tanous167e2372018-05-07 11:59:10 -070077IndentCaseLabels: true
Brad Bishopa99e1092023-02-03 14:33:08 -050078IndentRequiresClause: true
Ed Tanous167e2372018-05-07 11:59:10 -070079IndentWidth: 4
80IndentWrappedFunctionNames: true
Brad Bishop23520882022-05-26 21:39:53 -040081KeepEmptyLinesAtTheStartOfBlocks: false
Ed Tanous167e2372018-05-07 11:59:10 -070082MacroBlockBegin: ''
83MacroBlockEnd: ''
84MaxEmptyLinesToKeep: 1
85NamespaceIndentation: None
86ObjCBlockIndentWidth: 2
87ObjCSpaceAfterProperty: false
88ObjCSpaceBeforeProtocolList: true
Brad Bishopa99e1092023-02-03 14:33:08 -050089PenaltyBreakAssignment: 25
Ed Tanous167e2372018-05-07 11:59:10 -070090PenaltyBreakBeforeFirstCallParameter: 19
91PenaltyBreakComment: 300
92PenaltyBreakFirstLessLess: 120
93PenaltyBreakString: 1000
94PenaltyExcessCharacter: 1000000
95PenaltyReturnTypeOnItsOwnLine: 60
Brad Bishopa99e1092023-02-03 14:33:08 -050096PenaltyIndentedWhitespace: 0
97QualifierAlignment: Left
98ReferenceAlignment: Left
Ed Tanous167e2372018-05-07 11:59:10 -070099ReflowComments: true
Brad Bishopa99e1092023-02-03 14:33:08 -0500100RequiresClausePosition: OwnLine
Matt Spinlercc6ee9c2018-09-19 13:23:13 -0500101SortIncludes: true
102SortUsingDeclarations: true
Ed Tanous167e2372018-05-07 11:59:10 -0700103SpaceAfterCStyleCast: false
Brad Bishop23520882022-05-26 21:39:53 -0400104SpaceAfterTemplateKeyword: true
Ed Tanous167e2372018-05-07 11:59:10 -0700105SpaceBeforeAssignmentOperators: true
Brad Bishop23520882022-05-26 21:39:53 -0400106SpaceBeforeCpp11BracedList: false
107SpaceBeforeCtorInitializerColon: true
108SpaceBeforeInheritanceColon: true
Ed Tanous167e2372018-05-07 11:59:10 -0700109SpaceBeforeParens: ControlStatements
Brad Bishop23520882022-05-26 21:39:53 -0400110SpaceBeforeRangeBasedForLoopColon: true
Ed Tanous167e2372018-05-07 11:59:10 -0700111SpaceInEmptyParentheses: false
112SpacesBeforeTrailingComments: 1
113SpacesInAngles: false
114SpacesInContainerLiterals: true
115SpacesInCStyleCastParentheses: false
116SpacesInParentheses: false
117SpacesInSquareBrackets: false
Brad Bishop23520882022-05-26 21:39:53 -0400118Standard: Latest
Ed Tanous167e2372018-05-07 11:59:10 -0700119TabWidth: 4
Brad Bishop23520882022-05-26 21:39:53 -0400120UseCRLF: false
Ed Tanous167e2372018-05-07 11:59:10 -0700121UseTab: Never
122...
Brad Bishop23520882022-05-26 21:39:53 -0400123