blob: 4922cf63310c24bebbb9e53aec72ed5dafd7aa39 [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 Williamsdc24b2e2023-05-10 20:49:39 -050081IndentExternBlock: NoIndent
Patrick Williams06136282022-09-29 20:24:29 -050082IndentRequiresClause: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070083IndentWidth: 4
84IndentWrappedFunctionNames: true
Patrick Williams231ad0c2023-04-13 12:03:27 -050085InsertNewlineAtEOF: true
Brad Bishopac5d5442022-05-16 08:31:49 -040086KeepEmptyLinesAtTheStartOfBlocks: false
Andrew Jeffery22319392023-02-08 11:01:50 +103087LambdaBodyIndentation: OuterScope
Patrick Williams231ad0c2023-04-13 12:03:27 -050088LineEnding: LF
Patrick Venture0dcc4302018-09-24 10:39:54 -070089MacroBlockBegin: ''
90MacroBlockEnd: ''
91MaxEmptyLinesToKeep: 1
92NamespaceIndentation: None
93ObjCBlockIndentWidth: 2
94ObjCSpaceAfterProperty: false
95ObjCSpaceBeforeProtocolList: true
Patrick Williamsba68be62022-09-29 20:18:17 -050096PenaltyBreakAssignment: 25
Patrick Venture0dcc4302018-09-24 10:39:54 -070097PenaltyBreakBeforeFirstCallParameter: 19
98PenaltyBreakComment: 300
99PenaltyBreakFirstLessLess: 120
100PenaltyBreakString: 1000
101PenaltyExcessCharacter: 1000000
102PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsba68be62022-09-29 20:18:17 -0500103PenaltyIndentedWhitespace: 0
Patrick Williamsc742fe82022-09-29 20:21:39 -0500104QualifierAlignment: Left
105ReferenceAlignment: Left
Patrick Venture0dcc4302018-09-24 10:39:54 -0700106ReflowComments: true
Patrick Williams06136282022-09-29 20:24:29 -0500107RequiresClausePosition: OwnLine
Patrick Williams231ad0c2023-04-13 12:03:27 -0500108RequiresExpressionIndentation: Keyword
Patrick Venture0dcc4302018-09-24 10:39:54 -0700109SortIncludes: true
110SortUsingDeclarations: true
111SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -0500112SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700113SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500114SpaceBeforeCpp11BracedList: false
115SpaceBeforeCtorInitializerColon: true
116SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700117SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500118SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700119SpaceInEmptyParentheses: false
120SpacesBeforeTrailingComments: 1
121SpacesInAngles: false
122SpacesInContainerLiterals: true
123SpacesInCStyleCastParentheses: false
124SpacesInParentheses: false
125SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500126Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700127TabWidth: 4
Patrick Venture0dcc4302018-09-24 10:39:54 -0700128UseTab: Never
129...
130