blob: 945adae2cbbbfa48004827a9e4921465ce2ef0c7 [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 Venture0dcc4302018-09-24 10:39:54 -07009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: 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
80KeepEmptyLinesAtTheStartOfBlocks: true
81MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
94ReflowComments: true
95SortIncludes: true
96SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050098SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070099SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -0500100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700103SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500104SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Patrick Williams36d6f562020-05-28 17:53:49 -0500112Standard: Latest
Patrick Venture0dcc4302018-09-24 10:39:54 -0700113TabWidth: 4
Patrick Williams2f52b0a2021-11-10 15:59:37 -0600114UseCRLF: false
Patrick Venture0dcc4302018-09-24 10:39:54 -0700115UseTab: Never
116...
117