blob: 41f2211fa50b7fe14cd274d11de372b5335b4ff4 [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 Venture91ac8d32018-11-01 17:03:22 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
George Liua6c18f82020-06-22 10:50:04 +080021AlwaysBreakTemplateDeclarations: Yes
Patrick Venture91ac8d32018-11-01 17:03:22 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
George Liua6c18f82020-06-22 10:50:04 +080025 AfterCaseLabel: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
George Liua6c18f82020-06-22 10:50:04 +080034 AfterExternBlock: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
George Liua6c18f82020-06-22 10:50:04 +080038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
Patrick Williams857da382023-05-10 07:50:20 -050041BreakAfterAttributes: Never
Patrick Venture91ac8d32018-11-01 17:03:22 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
George Liua6c18f82020-06-22 10:50:04 +080046BreakInheritanceList: AfterColon
George Liud870d682021-09-09 20:16:49 +080047BreakStringLiterals: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
George Liua6c18f82020-06-22 10:50:04 +080050CompactNamespaces: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
George Liu23d54082021-12-07 11:06:33 +080055DeriveLineEnding: false
Patrick Venture91ac8d32018-11-01 17:03:22 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
George Liua6c18f82020-06-22 10:50:04 +080065 Priority: 7
Patrick Venture91ac8d32018-11-01 17:03:22 -070066 - Regex: '^"config.h"'
67 Priority: -1
George Liua6c18f82020-06-22 10:50:04 +080068 - Regex: '^".*\.h"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070069 Priority: 1
George Liua6c18f82020-06-22 10:50:04 +080070 - Regex: '^".*\.hpp"'
Patrick Venture91ac8d32018-11-01 17:03:22 -070071 Priority: 2
George Liua6c18f82020-06-22 10:50:04 +080072 - Regex: '^<.*\.h>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070073 Priority: 3
George Liua6c18f82020-06-22 10:50:04 +080074 - Regex: '^<.*\.hpp>'
Patrick Venture91ac8d32018-11-01 17:03:22 -070075 Priority: 4
George Liua6c18f82020-06-22 10:50:04 +080076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venture91ac8d32018-11-01 17:03:22 -070080IndentCaseLabels: true
George Liu5634c602023-07-18 09:07:11 +080081IndentExternBlock: NoIndent
Patrick Williams857da382023-05-10 07:50:20 -050082IndentRequiresClause: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070083IndentWidth: 4
84IndentWrappedFunctionNames: true
Patrick Williams857da382023-05-10 07:50:20 -050085InsertNewlineAtEOF: true
George Liu65bf3d92022-06-07 13:43:54 +080086KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams857da382023-05-10 07:50:20 -050087LambdaBodyIndentation: OuterScope
88LineEnding: LF
Patrick Venture91ac8d32018-11-01 17:03:22 -070089MacroBlockBegin: ''
90MacroBlockEnd: ''
91MaxEmptyLinesToKeep: 1
92NamespaceIndentation: None
93ObjCBlockIndentWidth: 2
94ObjCSpaceAfterProperty: false
95ObjCSpaceBeforeProtocolList: true
Patrick Williams857da382023-05-10 07:50:20 -050096PenaltyBreakAssignment: 25
Patrick Venture91ac8d32018-11-01 17:03:22 -070097PenaltyBreakBeforeFirstCallParameter: 19
98PenaltyBreakComment: 300
99PenaltyBreakFirstLessLess: 120
100PenaltyBreakString: 1000
101PenaltyExcessCharacter: 1000000
102PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams857da382023-05-10 07:50:20 -0500103PenaltyIndentedWhitespace: 0
104QualifierAlignment: Left
105ReferenceAlignment: Left
Patrick Venture91ac8d32018-11-01 17:03:22 -0700106ReflowComments: true
Patrick Williams857da382023-05-10 07:50:20 -0500107RequiresClausePosition: OwnLine
108RequiresExpressionIndentation: Keyword
Patrick Venture91ac8d32018-11-01 17:03:22 -0700109SortIncludes: true
110SortUsingDeclarations: true
111SpaceAfterCStyleCast: false
George Liua6c18f82020-06-22 10:50:04 +0800112SpaceAfterTemplateKeyword: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700113SpaceBeforeAssignmentOperators: true
George Liua6c18f82020-06-22 10:50:04 +0800114SpaceBeforeCpp11BracedList: false
115SpaceBeforeCtorInitializerColon: true
116SpaceBeforeInheritanceColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700117SpaceBeforeParens: ControlStatements
George Liua6c18f82020-06-22 10:50:04 +0800118SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700119SpaceInEmptyParentheses: false
120SpacesBeforeTrailingComments: 1
121SpacesInAngles: false
122SpacesInContainerLiterals: true
123SpacesInCStyleCastParentheses: false
124SpacesInParentheses: false
125SpacesInSquareBrackets: false
George Liua6c18f82020-06-22 10:50:04 +0800126Standard: Latest
Patrick Venture91ac8d32018-11-01 17:03:22 -0700127TabWidth: 4
128UseTab: Never
129...