blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Haiyue Wanga1c50752018-04-03 15:16:09 +08001---
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -07002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -07008AlignEscapedNewlines: Right
Patrick Williams43c83c52023-05-10 07:51:01 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams43c83c52023-05-10 07:51:01 -050014AllowShortBlocksOnASingleLine: Empty
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams43c83c52023-05-10 07:51:01 -050016AllowShortFunctionsOnASingleLine: Empty
Haiyue Wanga1c50752018-04-03 15:16:09 +080017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070021AlwaysBreakTemplateDeclarations: Yes
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
William A. Kennington III4f5ba642021-05-11 16:01:53 -070025 AfterCaseLabel: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -070034 AfterExternBlock: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -070038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams43c83c52023-05-10 07:51:01 -050041BreakAfterAttributes: Never
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
William A. Kennington III4f5ba642021-05-11 16:01:53 -070046BreakInheritanceList: AfterColon
Patrick Williams43c83c52023-05-10 07:51:01 -050047BreakStringLiterals: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070050CompactNamespaces: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams43c83c52023-05-10 07:51:01 -050055DeriveLineEnding: false
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
William A. Kennington III4f5ba642021-05-11 16:01:53 -070065 Priority: 7
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070066 - Regex: '^"config.h"'
67 Priority: -1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070068 - Regex: '^".*\.h"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070069 Priority: 1
William A. Kennington III4f5ba642021-05-11 16:01:53 -070070 - Regex: '^".*\.hpp"'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070071 Priority: 2
William A. Kennington III4f5ba642021-05-11 16:01:53 -070072 - Regex: '^<.*\.h>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070073 Priority: 3
William A. Kennington III4f5ba642021-05-11 16:01:53 -070074 - Regex: '^<.*\.hpp>'
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070075 Priority: 4
William A. Kennington III4f5ba642021-05-11 16:01:53 -070076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070080IndentCaseLabels: true
Patrick Williams43c83c52023-05-10 07:51:01 -050081IndentRequiresClause: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams43c83c52023-05-10 07:51:01 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams43c83c52023-05-10 07:51:01 -050095PenaltyBreakAssignment: 25
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams43c83c52023-05-10 07:51:01 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700105ReflowComments: true
Patrick Williams43c83c52023-05-10 07:51:01 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700108SortIncludes: true
109SortUsingDeclarations: true
Haiyue Wanga1c50752018-04-03 15:16:09 +0800110SpaceAfterCStyleCast: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700111SpaceAfterTemplateKeyword: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700112SpaceBeforeAssignmentOperators: true
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700116SpaceBeforeParens: ControlStatements
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700117SpaceBeforeRangeBasedForLoopColon: true
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
William A. Kennington III4f5ba642021-05-11 16:01:53 -0700125Standard: Latest
Vernon Mauery9ce5a9a2019-03-12 13:59:25 -0700126TabWidth: 4
127UseTab: Never
128...
Haiyue Wanga1c50752018-04-03 15:16:09 +0800129