blob: 11f72b256092a131f0fe9a962d3a37bb12d10c9d [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:
23 AfterClass: true
24 AfterControlStatement: true
25 AfterEnum: true
26 AfterFunction: true
27 AfterNamespace: true
28 AfterObjCDeclaration: true
29 AfterStruct: true
30 AfterUnion: true
Zane Shelley9a71ea12019-10-29 11:16:13 -050031 AfterExternBlock: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070032 BeforeCatch: true
33 BeforeElse: true
34 IndentBraces: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050035 SplitEmptyFunction: false
36 SplitEmptyRecord: false
37 SplitEmptyNamespace: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070038BreakBeforeBinaryOperators: None
39BreakBeforeBraces: Custom
40BreakBeforeTernaryOperators: true
41BreakConstructorInitializers: AfterColon
Zane Shelley9a71ea12019-10-29 11:16:13 -050042BreakInheritanceList: AfterColon
43BreakStringLiterals: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070044ColumnLimit: 80
45CommentPragmas: '^ IWYU pragma:'
Zane Shelley9a71ea12019-10-29 11:16:13 -050046CompactNamespaces: false
Patrick Venture0dcc4302018-09-24 10:39:54 -070047ConstructorInitializerAllOnOneLineOrOnePerLine: false
48ConstructorInitializerIndentWidth: 4
49ContinuationIndentWidth: 4
50Cpp11BracedListStyle: true
51DerivePointerAlignment: false
52PointerAlignment: Left
53DisableFormat: false
54ExperimentalAutoDetectBinPacking: false
55FixNamespaceComments: true
56ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
57IncludeBlocks: Regroup
58IncludeCategories:
59 - Regex: '^[<"](gtest|gmock)'
Zane Shelley9a71ea12019-10-29 11:16:13 -050060 Priority: 7
Patrick Venture0dcc4302018-09-24 10:39:54 -070061 - Regex: '^"config.h"'
62 Priority: -1
Zane Shelley9a71ea12019-10-29 11:16:13 -050063 - Regex: '^".*\.h"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070064 Priority: 1
Zane Shelley9a71ea12019-10-29 11:16:13 -050065 - Regex: '^".*\.hpp"'
Patrick Venture0dcc4302018-09-24 10:39:54 -070066 Priority: 2
Zane Shelley9a71ea12019-10-29 11:16:13 -050067 - Regex: '^<.*\.h>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070068 Priority: 3
Zane Shelley9a71ea12019-10-29 11:16:13 -050069 - Regex: '^<.*\.hpp>'
Patrick Venture0dcc4302018-09-24 10:39:54 -070070 Priority: 4
Zane Shelley9a71ea12019-10-29 11:16:13 -050071 - Regex: '^<.*'
72 Priority: 5
73 - Regex: '.*'
74 Priority: 6
Patrick Venture0dcc4302018-09-24 10:39:54 -070075IndentCaseLabels: true
76IndentWidth: 4
77IndentWrappedFunctionNames: true
78KeepEmptyLinesAtTheStartOfBlocks: true
79MacroBlockBegin: ''
80MacroBlockEnd: ''
81MaxEmptyLinesToKeep: 1
82NamespaceIndentation: None
83ObjCBlockIndentWidth: 2
84ObjCSpaceAfterProperty: false
85ObjCSpaceBeforeProtocolList: true
86PenaltyBreakBeforeFirstCallParameter: 19
87PenaltyBreakComment: 300
88PenaltyBreakFirstLessLess: 120
89PenaltyBreakString: 1000
90PenaltyExcessCharacter: 1000000
91PenaltyReturnTypeOnItsOwnLine: 60
92ReflowComments: true
93SortIncludes: true
94SortUsingDeclarations: true
95SpaceAfterCStyleCast: false
Zane Shelley9a71ea12019-10-29 11:16:13 -050096SpaceAfterTemplateKeyword: true
Patrick Venture0dcc4302018-09-24 10:39:54 -070097SpaceBeforeAssignmentOperators: true
Zane Shelley9a71ea12019-10-29 11:16:13 -050098SpaceBeforeCpp11BracedList: false
99SpaceBeforeCtorInitializerColon: true
100SpaceBeforeInheritanceColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700101SpaceBeforeParens: ControlStatements
Zane Shelley9a71ea12019-10-29 11:16:13 -0500102SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture0dcc4302018-09-24 10:39:54 -0700103SpaceInEmptyParentheses: false
104SpacesBeforeTrailingComments: 1
105SpacesInAngles: false
106SpacesInContainerLiterals: true
107SpacesInCStyleCastParentheses: false
108SpacesInParentheses: false
109SpacesInSquareBrackets: false
110Standard: Cpp11
111TabWidth: 4
112UseTab: Never
113...
114