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