blob: c1337a87a4b519d1bfe8fbd59a728359bd98e068 [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 Venture0dcc4302018-09-24 10:39:54 -070010AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams3547af12022-08-26 10:48:47 -050012AllowShortBlocksOnASingleLine: Empty
Patrick Venture0dcc4302018-09-24 10:39:54 -070013AllowShortCaseLabelsOnASingleLine: false
Patrick Williams3547af12022-08-26 10:48:47 -050014AllowShortFunctionsOnASingleLine: Empty
Patrick Venture0dcc4302018-09-24 10:39:54 -070015AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050019AlwaysBreakTemplateDeclarations: Yes
Patrick Venture0dcc4302018-09-24 10:39:54 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Patrick Williamsb6de1962020-05-21 15:10:06 -050023 AfterCaseLabel: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Zane Shelley9a71ea12019-10-29 11:16:13 -050032 AfterExternBlock: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Zane Shelley9a71ea12019-10-29 11:16:13 -050043BreakInheritanceList: AfterColon
Andrew Jeffery9e5bbd02021-08-06 10:29:36 +093044BreakStringLiterals: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Zane Shelley9a71ea12019-10-29 11:16:13 -050047CompactNamespaces: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Patrick Williams2f52b0a2021-11-10 15:59:37 -060052DeriveLineEnding: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Zane Shelley9a71ea12019-10-29 11:16:13 -050062 Priority: 7
Patrick Venture0dcc4302018-09-24 10:39:54 -070063 - Regex: '^"config.h"'
64 Priority: -1
Zane Shelley9a71ea12019-10-29 11:16:13 -050065 - Regex: '^".*\.h"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070066 Priority: 1
Zane Shelley9a71ea12019-10-29 11:16:13 -050067 - Regex: '^".*\.hpp"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070068 Priority: 2
Zane Shelley9a71ea12019-10-29 11:16:13 -050069 - Regex: '^<.*\.h>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070070 Priority: 3
Zane Shelley9a71ea12019-10-29 11:16:13 -050071 - Regex: '^<.*\.hpp>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070072 Priority: 4
Zane Shelley9a71ea12019-10-29 11:16:13 -050073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Patrick Venture0dcc4302018-09-24 10:39:54 -070077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
Brad Bishopac5d5442022-05-16 08:31:49 -040080KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
Patrick Williamsba68be62022-09-29 20:18:17 -050088PenaltyBreakAssignment: 25
Patrick Venture0dcc4302018-09-24 10:39:54 -070089PenaltyBreakBeforeFirstCallParameter: 19
90PenaltyBreakComment: 300
91PenaltyBreakFirstLessLess: 120
92PenaltyBreakString: 1000
93PenaltyExcessCharacter: 1000000
94PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsba68be62022-09-29 20:18:17 -050095PenaltyIndentedWhitespace: 0
Patrick Williamsc742fe82022-09-29 20:21:39 -050096QualifierAlignment: Left
97ReferenceAlignment: Left
Patrick Venture0dcc4302018-09-24 10:39:54 -070098ReflowComments: true
99SortIncludes: true
100SortUsingDeclarations: true
101SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -0500102SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700103SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500104SpaceBeforeCpp11BracedList: false
105SpaceBeforeCtorInitializerColon: true
106SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700107SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500108SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700109SpaceInEmptyParentheses: false
110SpacesBeforeTrailingComments: 1
111SpacesInAngles: false
112SpacesInContainerLiterals: true
113SpacesInCStyleCastParentheses: false
114SpacesInParentheses: false
115SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500116Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700117TabWidth: 4
Patrick Williams2f52b0a2021-11-10 15:59:37 -0600118UseCRLF: false
Patrick Venture0dcc4302018-09-24 10:39:54 -0700119UseTab: Never
120...
121