blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Brandon Kim638384c2022-05-10 14:09:48 -07001---
Patrick Williamsb8125762023-05-10 07:51:26 -05002Language: Cpp
Brandon Kim638384c2022-05-10 14:09:48 -07003# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
Patrick Williamsb8125762023-05-10 07:51:26 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Brandon Kim638384c2022-05-10 14:09:48 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williamsb8125762023-05-10 07:51:26 -050014AllowShortBlocksOnASingleLine: Empty
Brandon Kim638384c2022-05-10 14:09:48 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williamsb8125762023-05-10 07:51:26 -050016AllowShortFunctionsOnASingleLine: Empty
Brandon Kim638384c2022-05-10 14:09:48 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
19AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
21AlwaysBreakTemplateDeclarations: Yes
22BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williamsb8125762023-05-10 07:51:26 -050025 AfterCaseLabel: true
26 AfterClass: true
Brandon Kim638384c2022-05-10 14:09:48 -070027 AfterControlStatement: true
Patrick Williamsb8125762023-05-10 07:51:26 -050028 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
Brandon Kim638384c2022-05-10 14:09:48 -070031 AfterObjCDeclaration: true
Patrick Williamsb8125762023-05-10 07:51:26 -050032 AfterStruct: true
33 AfterUnion: true
Brandon Kim638384c2022-05-10 14:09:48 -070034 AfterExternBlock: true
Patrick Williamsb8125762023-05-10 07:51:26 -050035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
38 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
41BreakAfterAttributes: Never
Brandon Kim638384c2022-05-10 14:09:48 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
46BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Williamsb8125762023-05-10 07:51:26 -050048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Brandon Kim638384c2022-05-10 14:09:48 -070050CompactNamespaces: false
51ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
55DeriveLineEnding: false
56DerivePointerAlignment: false
57PointerAlignment: Left
Patrick Williamsb8125762023-05-10 07:51:26 -050058DisableFormat: false
Brandon Kim638384c2022-05-10 14:09:48 -070059ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
Patrick Williamsb8125762023-05-10 07:51:26 -050061ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Brandon Kim638384c2022-05-10 14:09:48 -070062IncludeBlocks: Regroup
63IncludeCategories:
Patrick Williamsb8125762023-05-10 07:51:26 -050064 - Regex: '^[<"](gtest|gmock)'
65 Priority: 7
66 - Regex: '^"config.h"'
67 Priority: -1
68 - Regex: '^".*\.h"'
69 Priority: 1
70 - Regex: '^".*\.hpp"'
71 Priority: 2
72 - Regex: '^<.*\.h>'
73 Priority: 3
74 - Regex: '^<.*\.hpp>'
75 Priority: 4
76 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Brandon Kim638384c2022-05-10 14:09:48 -070080IndentCaseLabels: true
Patrick Williamsb8125762023-05-10 07:51:26 -050081IndentRequiresClause: true
82IndentWidth: 4
Brandon Kim638384c2022-05-10 14:09:48 -070083IndentWrappedFunctionNames: true
Patrick Williamsb8125762023-05-10 07:51:26 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
88MacroBlockBegin: ''
89MacroBlockEnd: ''
Brandon Kim638384c2022-05-10 14:09:48 -070090MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williamsb8125762023-05-10 07:51:26 -050095PenaltyBreakAssignment: 25
Brandon Kim638384c2022-05-10 14:09:48 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williamsb8125762023-05-10 07:51:26 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
105ReflowComments: true
106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
108SortIncludes: true
Brandon Kim638384c2022-05-10 14:09:48 -0700109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
111SpaceAfterTemplateKeyword: true
112SpaceBeforeAssignmentOperators: true
113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
116SpaceBeforeParens: ControlStatements
117SpaceBeforeRangeBasedForLoopColon: true
118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
Patrick Williamsb8125762023-05-10 07:51:26 -0500120SpacesInAngles: false
Brandon Kim638384c2022-05-10 14:09:48 -0700121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williamsb8125762023-05-10 07:51:26 -0500125Standard: Latest
126TabWidth: 4
127UseTab: Never
128...
129