blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [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
Patrick Williamsa49c9872023-05-10 07:50:35 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Gunnar Mills94df8c92018-09-14 14:50:03 -050013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050014AllowShortBlocksOnASingleLine: Empty
Gunnar Mills94df8c92018-09-14 14:50:03 -050015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsa49c9872023-05-10 07:50:35 -050016AllowShortFunctionsOnASingleLine: Empty
Gunnar Mills94df8c92018-09-14 14:50:03 -050017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
George Liub5ca1012021-09-10 12:53:11 +080021AlwaysBreakTemplateDeclarations: Yes
Gunnar Mills94df8c92018-09-14 14:50:03 -050022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
George Liub5ca1012021-09-10 12:53:11 +080025 AfterCaseLabel: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
George Liub5ca1012021-09-10 12:53:11 +080034 AfterExternBlock: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
George Liub5ca1012021-09-10 12:53:11 +080038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsa49c9872023-05-10 07:50:35 -050041BreakAfterAttributes: Never
Gunnar Mills94df8c92018-09-14 14:50:03 -050042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
George Liub5ca1012021-09-10 12:53:11 +080046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
George Liub5ca1012021-09-10 12:53:11 +080050CompactNamespaces: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Sheldon Bailey373af752022-02-21 15:14:00 -060055DeriveLineEnding: false
Gunnar Mills94df8c92018-09-14 14:50:03 -050056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
George Liub5ca1012021-09-10 12:53:11 +080065 Priority: 7
Gunnar Mills94df8c92018-09-14 14:50:03 -050066 - Regex: '^"config.h"'
67 Priority: -1
George Liub5ca1012021-09-10 12:53:11 +080068 - Regex: '^".*\.h"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050069 Priority: 1
George Liub5ca1012021-09-10 12:53:11 +080070 - Regex: '^".*\.hpp"'
Gunnar Mills94df8c92018-09-14 14:50:03 -050071 Priority: 2
George Liub5ca1012021-09-10 12:53:11 +080072 - Regex: '^<.*\.h>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050073 Priority: 3
George Liub5ca1012021-09-10 12:53:11 +080074 - Regex: '^<.*\.hpp>'
Gunnar Mills94df8c92018-09-14 14:50:03 -050075 Priority: 4
George Liub5ca1012021-09-10 12:53:11 +080076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Gunnar Mills94df8c92018-09-14 14:50:03 -050080IndentCaseLabels: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050081IndentRequiresClause: true
Gunnar Mills94df8c92018-09-14 14:50:03 -050082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Gunnar Mills94df8c92018-09-14 14:50:03 -050088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsa49c9872023-05-10 07:50:35 -050095PenaltyBreakAssignment: 25
Gunnar Mills94df8c92018-09-14 14:50:03 -050096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsa49c9872023-05-10 07:50:35 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Gunnar Mills94df8c92018-09-14 14:50:03 -0500105ReflowComments: true
Patrick Williamsa49c9872023-05-10 07:50:35 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Gunnar Mills94df8c92018-09-14 14:50:03 -0500108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
George Liub5ca1012021-09-10 12:53:11 +0800111SpaceAfterTemplateKeyword: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500112SpaceBeforeAssignmentOperators: true
George Liub5ca1012021-09-10 12:53:11 +0800113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500116SpaceBeforeParens: ControlStatements
George Liub5ca1012021-09-10 12:53:11 +0800117SpaceBeforeRangeBasedForLoopColon: true
Gunnar Mills94df8c92018-09-14 14:50:03 -0500118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
George Liub5ca1012021-09-10 12:53:11 +0800125Standard: Latest
Gunnar Mills94df8c92018-09-14 14:50:03 -0500126TabWidth: 4
127UseTab: Never
128...
Patrick Williamsa49c9872023-05-10 07:50:35 -0500129