blob: 3a6c9836969761e7fb0b5a90db7f32c3bf9d6129 [file] [log] [blame]
James Feist6714a252018-09-10 15:26:18 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
James Feist38fb5982020-05-28 10:09:54 -07008AlignEscapedNewlines: Right
James Feist6714a252018-09-10 15:26:18 -07009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
James Feist6714a252018-09-10 15:26:18 -070017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
James Feist38fb5982020-05-28 10:09:54 -070019AlwaysBreakTemplateDeclarations: Yes
James Feist6714a252018-09-10 15:26:18 -070020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
James Feist38fb5982020-05-28 10:09:54 -070023 AfterCaseLabel: true
James Feist6714a252018-09-10 15:26:18 -070024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
James Feist38fb5982020-05-28 10:09:54 -070032 AfterExternBlock: true
James Feist6714a252018-09-10 15:26:18 -070033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
James Feist38fb5982020-05-28 10:09:54 -070036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
James Feist6714a252018-09-10 15:26:18 -070039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
James Feist38fb5982020-05-28 10:09:54 -070043BreakInheritanceList: AfterColon
44BreakStringLiterals: true
James Feist6714a252018-09-10 15:26:18 -070045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
James Feist38fb5982020-05-28 10:09:54 -070047CompactNamespaces: false
James Feist6714a252018-09-10 15:26:18 -070048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
James Feistd8705872019-02-08 13:26:09 -080052DerivePointerAlignment: false
Ed Tanousbb679322022-05-16 16:10:00 -070053LambdaBodyIndentation: OuterScope
James Feist6714a252018-09-10 15:26:18 -070054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
James Feist38fb5982020-05-28 10:09:54 -070062 Priority: 7
James Feist6714a252018-09-10 15:26:18 -070063 - Regex: '^"config.h"'
64 Priority: -1
James Feist38fb5982020-05-28 10:09:54 -070065 - Regex: '^".*\.h"'
James Feist6714a252018-09-10 15:26:18 -070066 Priority: 1
James Feist38fb5982020-05-28 10:09:54 -070067 - Regex: '^".*\.hpp"'
James Feist6714a252018-09-10 15:26:18 -070068 Priority: 2
James Feist38fb5982020-05-28 10:09:54 -070069 - Regex: '^<.*\.h>'
James Feist6714a252018-09-10 15:26:18 -070070 Priority: 3
James Feist38fb5982020-05-28 10:09:54 -070071 - Regex: '^<.*\.hpp>'
James Feist6714a252018-09-10 15:26:18 -070072 Priority: 4
James Feist38fb5982020-05-28 10:09:54 -070073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
James Feist6714a252018-09-10 15:26:18 -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
James Feist6714a252018-09-10 15:26:18 -070094ReflowComments: true
95SortIncludes: true
James Feistd8705872019-02-08 13:26:09 -080096SortUsingDeclarations: true
James Feist6714a252018-09-10 15:26:18 -070097SpaceAfterCStyleCast: false
James Feist38fb5982020-05-28 10:09:54 -070098SpaceAfterTemplateKeyword: true
James Feist6714a252018-09-10 15:26:18 -070099SpaceBeforeAssignmentOperators: true
James Feist38fb5982020-05-28 10:09:54 -0700100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
James Feist6714a252018-09-10 15:26:18 -0700103SpaceBeforeParens: ControlStatements
James Feist38fb5982020-05-28 10:09:54 -0700104SpaceBeforeRangeBasedForLoopColon: true
James Feist6714a252018-09-10 15:26:18 -0700105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
112Standard: Cpp11
113TabWidth: 4
114UseTab: Never
115...
James Feistd8705872019-02-08 13:26:09 -0800116