blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Brad Bishopd1eac882018-03-29 10:34:05 -04001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liu3fe976c2022-06-21 09:37:04 +08008AlignEscapedNewlines: Right
Patrick Williamsc5fe26a2023-05-10 07:50:25 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Brad Bishopd1eac882018-03-29 10:34:05 -040013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050014AllowShortBlocksOnASingleLine: Empty
Brad Bishopd1eac882018-03-29 10:34:05 -040015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050016AllowShortFunctionsOnASingleLine: Empty
Brad Bishopd1eac882018-03-29 10:34:05 -040017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Brad Bishopd1eac882018-03-29 10:34:05 -040019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
George Liu3fe976c2022-06-21 09:37:04 +080021AlwaysBreakTemplateDeclarations: Yes
Brad Bishopd1eac882018-03-29 10:34:05 -040022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
George Liu3fe976c2022-06-21 09:37:04 +080025 AfterCaseLabel: true
Brad Bishopd1eac882018-03-29 10:34:05 -040026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
George Liu3fe976c2022-06-21 09:37:04 +080034 AfterExternBlock: true
Brad Bishopd1eac882018-03-29 10:34:05 -040035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
George Liu3fe976c2022-06-21 09:37:04 +080038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050041BreakAfterAttributes: Never
Brad Bishopd1eac882018-03-29 10:34:05 -040042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
George Liu3fe976c2022-06-21 09:37:04 +080046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Brad Bishopd1eac882018-03-29 10:34:05 -040048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
George Liu3fe976c2022-06-21 09:37:04 +080050CompactNamespaces: false
Brad Bishopd1eac882018-03-29 10:34:05 -040051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
George Liu3fe976c2022-06-21 09:37:04 +080055DeriveLineEnding: false
Patrick Venture3d6d3182018-08-31 09:33:09 -070056DerivePointerAlignment: false
Brad Bishopd1eac882018-03-29 10:34:05 -040057PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Patrick Venture3d6d3182018-08-31 09:33:09 -070062IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
George Liu3fe976c2022-06-21 09:37:04 +080065 Priority: 7
Patrick Venture3d6d3182018-08-31 09:33:09 -070066 - Regex: '^"config.h"'
67 Priority: -1
George Liu3fe976c2022-06-21 09:37:04 +080068 - Regex: '^".*\.h"'
Patrick Venture3d6d3182018-08-31 09:33:09 -070069 Priority: 1
George Liu3fe976c2022-06-21 09:37:04 +080070 - Regex: '^".*\.hpp"'
Patrick Venture3d6d3182018-08-31 09:33:09 -070071 Priority: 2
George Liu3fe976c2022-06-21 09:37:04 +080072 - Regex: '^<.*\.h>'
Patrick Venture3d6d3182018-08-31 09:33:09 -070073 Priority: 3
George Liu3fe976c2022-06-21 09:37:04 +080074 - Regex: '^<.*\.hpp>'
Patrick Venture3d6d3182018-08-31 09:33:09 -070075 Priority: 4
George Liu3fe976c2022-06-21 09:37:04 +080076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Brad Bishopd1eac882018-03-29 10:34:05 -040080IndentCaseLabels: true
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050081IndentRequiresClause: true
Brad Bishopd1eac882018-03-29 10:34:05 -040082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050084InsertNewlineAtEOF: true
George Liu3fe976c2022-06-21 09:37:04 +080085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Brad Bishopd1eac882018-03-29 10:34:05 -040088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsc5fe26a2023-05-10 07:50:25 -050095PenaltyBreakAssignment: 25
Brad Bishopd1eac882018-03-29 10:34:05 -040096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsc5fe26a2023-05-10 07:50:25 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Brad Bishopd1eac882018-03-29 10:34:05 -0400105ReflowComments: true
Patrick Williamsc5fe26a2023-05-10 07:50:25 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Patrick Venture3d6d3182018-08-31 09:33:09 -0700108SortIncludes: true
109SortUsingDeclarations: true
Brad Bishopd1eac882018-03-29 10:34:05 -0400110SpaceAfterCStyleCast: false
George Liu3fe976c2022-06-21 09:37:04 +0800111SpaceAfterTemplateKeyword: true
Brad Bishopd1eac882018-03-29 10:34:05 -0400112SpaceBeforeAssignmentOperators: true
George Liu3fe976c2022-06-21 09:37:04 +0800113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Brad Bishopd1eac882018-03-29 10:34:05 -0400116SpaceBeforeParens: ControlStatements
George Liu3fe976c2022-06-21 09:37:04 +0800117SpaceBeforeRangeBasedForLoopColon: true
Brad Bishopd1eac882018-03-29 10:34:05 -0400118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
George Liu3fe976c2022-06-21 09:37:04 +0800125Standard: Latest
Brad Bishopd1eac882018-03-29 10:34:05 -0400126TabWidth: 4
127UseTab: Never
128...
Patrick Williamsc5fe26a2023-05-10 07:50:25 -0500129