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