blob: ddfe2d702c7d38ede4058cc50d2793f53b2ddd88 [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
Gunnar Millsab4cc6a2018-09-14 14:42:39 -05009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
George Liuc6d33972020-06-22 10:35:29 +080019AlwaysBreakTemplateDeclarations: Yes
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
George Liu3de96982020-05-26 10:42:53 +080023 AfterCaseLabel: true
Gunnar Millsab4cc6a2018-09-14 14:42:39 -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 Liuc6d33972020-06-22 10:35:29 +080032 AfterExternBlock: true
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
George Liuc6d33972020-06-22 10:35:29 +080036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
George Liuc6d33972020-06-22 10:35:29 +080043BreakInheritanceList: AfterColon
George Liu15acddc2022-07-01 16:27:07 +080044BreakStringLiterals: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
George Liuc6d33972020-06-22 10:35:29 +080047CompactNamespaces: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
George Liu15acddc2022-07-01 16:27:07 +080052DeriveLineEnding: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050053DerivePointerAlignment: false
George Liuc6d33972020-06-22 10:35:29 +080054PointerAlignment: Left
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050055DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
George Liuc6d33972020-06-22 10:35:29 +080062 Priority: 7
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050063 - Regex: '^"config.h"'
64 Priority: -1
George Liuc6d33972020-06-22 10:35:29 +080065 - Regex: '^".*\.h"'
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050066 Priority: 1
George Liuc6d33972020-06-22 10:35:29 +080067 - Regex: '^".*\.hpp"'
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050068 Priority: 2
George Liuc6d33972020-06-22 10:35:29 +080069 - Regex: '^<.*\.h>'
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050070 Priority: 3
George Liuc6d33972020-06-22 10:35:29 +080071 - Regex: '^<.*\.hpp>'
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050072 Priority: 4
George Liuc6d33972020-06-22 10:35:29 +080073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Gunnar Millsab4cc6a2018-09-14 14:42:39 -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
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050094ReflowComments: true
95SortIncludes: true
96SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
George Liuc6d33972020-06-22 10:35:29 +080098SpaceAfterTemplateKeyword: true
Gunnar Millsab4cc6a2018-09-14 14:42:39 -050099SpaceBeforeAssignmentOperators: true
George Liuc6d33972020-06-22 10:35:29 +0800100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Gunnar Millsab4cc6a2018-09-14 14:42:39 -0500103SpaceBeforeParens: ControlStatements
George Liuc6d33972020-06-22 10:35:29 +0800104SpaceBeforeRangeBasedForLoopColon: true
Gunnar Millsab4cc6a2018-09-14 14:42:39 -0500105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
George Liuc6d33972020-06-22 10:35:29 +0800112Standard: Latest
Gunnar Millsab4cc6a2018-09-14 14:42:39 -0500113TabWidth: 4
George Liu15acddc2022-07-01 16:27:07 +0800114UseCRLF: false
Gunnar Millsab4cc6a2018-09-14 14:42:39 -0500115UseTab: Never
116...