blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Patrick Venture0dcc4302018-09-24 10:39:54 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Zane Shelley9a71ea12019-10-29 11:16:13 -05008AlignEscapedNewlines: Right
Patrick Williamsc742fe82022-09-29 20:21:39 -05009AlignOperands: Align
Patrick Williams231ad0c2023-04-13 12:03:27 -050010AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture0dcc4302018-09-24 10:39:54 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams3547af12022-08-26 10:48:47 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture0dcc4302018-09-24 10:39:54 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams3547af12022-08-26 10:48:47 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venture0dcc4302018-09-24 10:39:54 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050021AlwaysBreakTemplateDeclarations: Yes
Patrick Venture0dcc4302018-09-24 10:39:54 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williamsb6de1962020-05-21 15:10:06 -050025 AfterCaseLabel: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Zane Shelley9a71ea12019-10-29 11:16:13 -050034 AfterExternBlock: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams231ad0c2023-04-13 12:03:27 -050041BreakAfterAttributes: Never
Patrick Venture0dcc4302018-09-24 10:39:54 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Zane Shelley9a71ea12019-10-29 11:16:13 -050046BreakInheritanceList: AfterColon
Andrew Jeffery9e5bbd02021-08-06 10:29:36 +093047BreakStringLiterals: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Zane Shelley9a71ea12019-10-29 11:16:13 -050050CompactNamespaces: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams2f52b0a2021-11-10 15:59:37 -060055DeriveLineEnding: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Zane Shelley9a71ea12019-10-29 11:16:13 -050065 Priority: 7
Patrick Venture0dcc4302018-09-24 10:39:54 -070066 - Regex: '^"config.h"'
67 Priority: -1
Zane Shelley9a71ea12019-10-29 11:16:13 -050068 - Regex: '^".*\.h"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070069 Priority: 1
Zane Shelley9a71ea12019-10-29 11:16:13 -050070 - Regex: '^".*\.hpp"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070071 Priority: 2
Zane Shelley9a71ea12019-10-29 11:16:13 -050072 - Regex: '^<.*\.h>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070073 Priority: 3
Zane Shelley9a71ea12019-10-29 11:16:13 -050074 - Regex: '^<.*\.hpp>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070075 Priority: 4
Zane Shelley9a71ea12019-10-29 11:16:13 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venture0dcc4302018-09-24 10:39:54 -070080IndentCaseLabels: true
Patrick Williams06136282022-09-29 20:24:29 -050081IndentRequiresClause: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams231ad0c2023-04-13 12:03:27 -050084InsertNewlineAtEOF: true
Brad Bishopac5d5442022-05-16 08:31:49 -040085KeepEmptyLinesAtTheStartOfBlocks: false
Andrew Jeffery22319392023-02-08 11:01:50 +103086LambdaBodyIndentation: OuterScope
Patrick Williams231ad0c2023-04-13 12:03:27 -050087LineEnding: LF
Patrick Venture0dcc4302018-09-24 10:39:54 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsba68be62022-09-29 20:18:17 -050095PenaltyBreakAssignment: 25
Patrick Venture0dcc4302018-09-24 10:39:54 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsba68be62022-09-29 20:18:17 -0500102PenaltyIndentedWhitespace: 0
Patrick Williamsc742fe82022-09-29 20:21:39 -0500103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venture0dcc4302018-09-24 10:39:54 -0700105ReflowComments: true
Patrick Williams06136282022-09-29 20:24:29 -0500106RequiresClausePosition: OwnLine
Patrick Williams231ad0c2023-04-13 12:03:27 -0500107RequiresExpressionIndentation: Keyword
Patrick Venture0dcc4302018-09-24 10:39:54 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -0500111SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700112SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700116SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500125Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700126TabWidth: 4
Patrick Venture0dcc4302018-09-24 10:39:54 -0700127UseTab: Never
128...
129