blob: ddfe2d702c7d38ede4058cc50d2793f53b2ddd88 [file] [log] [blame]
Gunnar Mills94df8c92018-09-14 14:50:03 -05001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liub5ca1012021-09-10 12:53:11 +08008AlignEscapedNewlines: Right
Gunnar Mills94df8c92018-09-14 14:50:03 -05009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
George Liub5ca1012021-09-10 12:53:11 +080019AlwaysBreakTemplateDeclarations: Yes
Gunnar Mills94df8c92018-09-14 14:50:03 -050020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
George Liub5ca1012021-09-10 12:53:11 +080023 AfterCaseLabel: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
George Liub5ca1012021-09-10 12:53:11 +080032 AfterExternBlock: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
George Liub5ca1012021-09-10 12:53:11 +080036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
George Liub5ca1012021-09-10 12:53:11 +080043BreakInheritanceList: AfterColon
44BreakStringLiterals: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
George Liub5ca1012021-09-10 12:53:11 +080047CompactNamespaces: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Sheldon Bailey373af752022-02-21 15:14:00 -060052DeriveLineEnding: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
George Liub5ca1012021-09-10 12:53:11 +080062 Priority: 7
Gunnar Mills94df8c92018-09-14 14:50:03 -050063 - Regex: '^"config.h"'
64 Priority: -1
George Liub5ca1012021-09-10 12:53:11 +080065 - Regex: '^".*\.h"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050066 Priority: 1
George Liub5ca1012021-09-10 12:53:11 +080067 - Regex: '^".*\.hpp"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050068 Priority: 2
George Liub5ca1012021-09-10 12:53:11 +080069 - Regex: '^<.*\.h>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050070 Priority: 3
George Liub5ca1012021-09-10 12:53:11 +080071 - Regex: '^<.*\.hpp>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050072 Priority: 4
George Liub5ca1012021-09-10 12:53:11 +080073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Gunnar Mills94df8c92018-09-14 14:50:03 -050077IndentCaseLabels: 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
George Liub5ca1012021-09-10 12:53:11 +080098SpaceAfterTemplateKeyword: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050099SpaceBeforeAssignmentOperators: true
George Liub5ca1012021-09-10 12:53:11 +0800100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500103SpaceBeforeParens: ControlStatements
George Liub5ca1012021-09-10 12:53:11 +0800104SpaceBeforeRangeBasedForLoopColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
George Liub5ca1012021-09-10 12:53:11 +0800112Standard: Latest
Gunnar Mills94df8c92018-09-14 14:50:03 -0500113TabWidth: 4
Sheldon Bailey373af752022-02-21 15:14:00 -0600114UseCRLF: false
Gunnar Mills94df8c92018-09-14 14:50:03 -0500115UseTab: Never
116...