blob: d43e884dbbb3dae7d4099cba649bb733da65c09c [file] [log] [blame]
Patrick Venture91ac8d32018-11-01 17:03:22 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
George Liua6c18f82020-06-22 10:50:04 +08008AlignEscapedNewlines: Right
Patrick Williams857da382023-05-10 07:50:20 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture91ac8d32018-11-01 17:03:22 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams857da382023-05-10 07:50:20 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture91ac8d32018-11-01 17:03:22 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams857da382023-05-10 07:50:20 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williams605600e2023-10-20 11:18:04 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070019AllowShortLoopsOnASingleLine: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
George Liua6c18f82020-06-22 10:50:04 +080022AlwaysBreakTemplateDeclarations: Yes
Patrick Venture91ac8d32018-11-01 17:03:22 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williams605600e2023-10-20 11:18:04 -050025BitFieldColonSpacing: None
Patrick Venture91ac8d32018-11-01 17:03:22 -070026BraceWrapping:
George Liua6c18f82020-06-22 10:50:04 +080027 AfterCaseLabel: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williams605600e2023-10-20 11:18:04 -050031 AfterExternBlock: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williams605600e2023-10-20 11:18:04 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070041 IndentBraces: false
George Liua6c18f82020-06-22 10:50:04 +080042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams857da382023-05-10 07:50:20 -050045BreakAfterAttributes: Never
Patrick Venture91ac8d32018-11-01 17:03:22 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
George Liua6c18f82020-06-22 10:50:04 +080050BreakInheritanceList: AfterColon
George Liud870d682021-09-09 20:16:49 +080051BreakStringLiterals: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
George Liua6c18f82020-06-22 10:50:04 +080054CompactNamespaces: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
58DerivePointerAlignment: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070059DisableFormat: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070060FixNamespaceComments: true
Patrick Williams605600e2023-10-20 11:18:04 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Patrick Venture91ac8d32018-11-01 17:03:22 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
George Liua6c18f82020-06-22 10:50:04 +080068 Priority: 7
Patrick Venture91ac8d32018-11-01 17:03:22 -070069 - Regex: '^"config.h"'
70 Priority: -1
George Liua6c18f82020-06-22 10:50:04 +080071 - Regex: '^".*\.h"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070072 Priority: 1
George Liua6c18f82020-06-22 10:50:04 +080073 - Regex: '^".*\.hpp"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070074 Priority: 2
George Liua6c18f82020-06-22 10:50:04 +080075 - Regex: '^<.*\.h>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070076 Priority: 3
George Liua6c18f82020-06-22 10:50:04 +080077 - Regex: '^<.*\.hpp>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070078 Priority: 4
George Liua6c18f82020-06-22 10:50:04 +080079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Patrick Venture91ac8d32018-11-01 17:03:22 -070083IndentCaseLabels: true
George Liu5634c602023-07-18 09:07:11 +080084IndentExternBlock: NoIndent
Patrick Williams857da382023-05-10 07:50:20 -050085IndentRequiresClause: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams857da382023-05-10 07:50:20 -050088InsertNewlineAtEOF: true
George Liu65bf3d92022-06-07 13:43:54 +080089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams857da382023-05-10 07:50:20 -050090LambdaBodyIndentation: OuterScope
91LineEnding: LF
Patrick Venture91ac8d32018-11-01 17:03:22 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williams605600e2023-10-20 11:18:04 -050099PackConstructorInitializers: BinPack
Patrick Williams857da382023-05-10 07:50:20 -0500100PenaltyBreakAssignment: 25
Patrick Venture91ac8d32018-11-01 17:03:22 -0700101PenaltyBreakBeforeFirstCallParameter: 19
102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
105PenaltyExcessCharacter: 1000000
106PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams857da382023-05-10 07:50:20 -0500107PenaltyIndentedWhitespace: 0
Patrick Williams605600e2023-10-20 11:18:04 -0500108PointerAlignment: Left
Patrick Williams857da382023-05-10 07:50:20 -0500109QualifierAlignment: Left
110ReferenceAlignment: Left
Patrick Venture91ac8d32018-11-01 17:03:22 -0700111ReflowComments: true
Patrick Williams857da382023-05-10 07:50:20 -0500112RequiresClausePosition: OwnLine
113RequiresExpressionIndentation: Keyword
Patrick Williams605600e2023-10-20 11:18:04 -0500114SortIncludes: CaseSensitive
Patrick Venture91ac8d32018-11-01 17:03:22 -0700115SortUsingDeclarations: true
116SpaceAfterCStyleCast: false
George Liua6c18f82020-06-22 10:50:04 +0800117SpaceAfterTemplateKeyword: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700118SpaceBeforeAssignmentOperators: true
George Liua6c18f82020-06-22 10:50:04 +0800119SpaceBeforeCpp11BracedList: false
120SpaceBeforeCtorInitializerColon: true
121SpaceBeforeInheritanceColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700122SpaceBeforeParens: ControlStatements
George Liua6c18f82020-06-22 10:50:04 +0800123SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700124SpaceInEmptyParentheses: false
125SpacesBeforeTrailingComments: 1
Patrick Williams605600e2023-10-20 11:18:04 -0500126SpacesInAngles: Never
Patrick Venture91ac8d32018-11-01 17:03:22 -0700127SpacesInContainerLiterals: true
128SpacesInCStyleCastParentheses: false
129SpacesInParentheses: false
130SpacesInSquareBrackets: false
George Liua6c18f82020-06-22 10:50:04 +0800131Standard: Latest
Patrick Venture91ac8d32018-11-01 17:03:22 -0700132TabWidth: 4
133UseTab: Never
134...
Patrick Williams605600e2023-10-20 11:18:04 -0500135