blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
James Feist3cb5fec2018-01-23 14:41:51 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
James Feist8c505da2020-05-28 10:06:33 -07008AlignEscapedNewlines: Right
Patrick Williamsdf190612023-05-10 07:51:34 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
James Feist3cb5fec2018-01-23 14:41:51 -080013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsdf190612023-05-10 07:51:34 -050014AllowShortBlocksOnASingleLine: Empty
James Feist3cb5fec2018-01-23 14:41:51 -080015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsdf190612023-05-10 07:51:34 -050016AllowShortFunctionsOnASingleLine: Empty
James Feist3cb5fec2018-01-23 14:41:51 -080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
James Feist3cb5fec2018-01-23 14:41:51 -080019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
James Feist8c505da2020-05-28 10:06:33 -070021AlwaysBreakTemplateDeclarations: Yes
James Feist3cb5fec2018-01-23 14:41:51 -080022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
James Feist8c505da2020-05-28 10:06:33 -070025 AfterCaseLabel: true
James Feist3cb5fec2018-01-23 14:41:51 -080026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
James Feistc72f8c22018-04-30 13:05:11 -070030 AfterNamespace: true
James Feist3cb5fec2018-01-23 14:41:51 -080031 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
James Feist8c505da2020-05-28 10:06:33 -070034 AfterExternBlock: true
James Feist3cb5fec2018-01-23 14:41:51 -080035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
James Feist8c505da2020-05-28 10:06:33 -070038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsdf190612023-05-10 07:51:34 -050041BreakAfterAttributes: Never
James Feist3cb5fec2018-01-23 14:41:51 -080042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
James Feistc72f8c22018-04-30 13:05:11 -070045BreakConstructorInitializers: AfterColon
James Feist8c505da2020-05-28 10:06:33 -070046BreakInheritanceList: AfterColon
Patrick Williamsdf190612023-05-10 07:51:34 -050047BreakStringLiterals: false
James Feist3cb5fec2018-01-23 14:41:51 -080048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
James Feist8c505da2020-05-28 10:06:33 -070050CompactNamespaces: false
James Feist3cb5fec2018-01-23 14:41:51 -080051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williamsdf190612023-05-10 07:51:34 -050055DeriveLineEnding: false
James Feista465ccc2019-02-08 12:51:01 -080056DerivePointerAlignment: false
James Feistc72f8c22018-04-30 13:05:11 -070057PointerAlignment: Left
James Feist3cb5fec2018-01-23 14:41:51 -080058DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
James Feistc72f8c22018-04-30 13:05:11 -070060FixNamespaceComments: true
James Feist3cb5fec2018-01-23 14:41:51 -080061ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
James Feista465ccc2019-02-08 12:51:01 -080062IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
James Feist8c505da2020-05-28 10:06:33 -070065 Priority: 7
James Feista465ccc2019-02-08 12:51:01 -080066 - Regex: '^"config.h"'
67 Priority: -1
James Feist8c505da2020-05-28 10:06:33 -070068 - Regex: '^".*\.h"'
James Feista465ccc2019-02-08 12:51:01 -080069 Priority: 1
James Feist8c505da2020-05-28 10:06:33 -070070 - Regex: '^".*\.hpp"'
James Feista465ccc2019-02-08 12:51:01 -080071 Priority: 2
James Feist8c505da2020-05-28 10:06:33 -070072 - Regex: '^<.*\.h>'
James Feista465ccc2019-02-08 12:51:01 -080073 Priority: 3
James Feist8c505da2020-05-28 10:06:33 -070074 - Regex: '^<.*\.hpp>'
James Feista465ccc2019-02-08 12:51:01 -080075 Priority: 4
James Feist8c505da2020-05-28 10:06:33 -070076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
James Feistc72f8c22018-04-30 13:05:11 -070080IndentCaseLabels: true
Patrick Williamsdf190612023-05-10 07:51:34 -050081IndentRequiresClause: true
James Feist3cb5fec2018-01-23 14:41:51 -080082IndentWidth: 4
James Feistc72f8c22018-04-30 13:05:11 -070083IndentWrappedFunctionNames: true
Patrick Williamsdf190612023-05-10 07:51:34 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
James Feist3cb5fec2018-01-23 14:41:51 -080088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsdf190612023-05-10 07:51:34 -050095PenaltyBreakAssignment: 25
James Feist3cb5fec2018-01-23 14:41:51 -080096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsdf190612023-05-10 07:51:34 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
James Feist3cb5fec2018-01-23 14:41:51 -0800105ReflowComments: true
Patrick Williamsdf190612023-05-10 07:51:34 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
James Feista465ccc2019-02-08 12:51:01 -0800108SortIncludes: true
109SortUsingDeclarations: true
James Feist3cb5fec2018-01-23 14:41:51 -0800110SpaceAfterCStyleCast: false
James Feist8c505da2020-05-28 10:06:33 -0700111SpaceAfterTemplateKeyword: true
James Feist3cb5fec2018-01-23 14:41:51 -0800112SpaceBeforeAssignmentOperators: true
James Feist8c505da2020-05-28 10:06:33 -0700113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800116SpaceBeforeParens: ControlStatements
James Feist8c505da2020-05-28 10:06:33 -0700117SpaceBeforeRangeBasedForLoopColon: true
James Feist3cb5fec2018-01-23 14:41:51 -0800118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williamsdf190612023-05-10 07:51:34 -0500125Standard: Latest
James Feist3cb5fec2018-01-23 14:41:51 -0800126TabWidth: 4
127UseTab: Never
James Feist9eb0b582018-04-27 12:15:46 -0700128...
129