blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [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
Patrick Williams857da382023-05-10 07:50:20 -050081IndentRequiresClause: true
Patrick Venture91ac8d32018-11-01 17:03:22 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams857da382023-05-10 07:50:20 -050084InsertNewlineAtEOF: true
George Liu65bf3d92022-06-07 13:43:54 +080085KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams857da382023-05-10 07:50:20 -050086LambdaBodyIndentation: OuterScope
87LineEnding: LF
Patrick Venture91ac8d32018-11-01 17:03:22 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams857da382023-05-10 07:50:20 -050095PenaltyBreakAssignment: 25
Patrick Venture91ac8d32018-11-01 17:03:22 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams857da382023-05-10 07:50:20 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venture91ac8d32018-11-01 17:03:22 -0700105ReflowComments: true
Patrick Williams857da382023-05-10 07:50:20 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Patrick Venture91ac8d32018-11-01 17:03:22 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
George Liua6c18f82020-06-22 10:50:04 +0800111SpaceAfterTemplateKeyword: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700112SpaceBeforeAssignmentOperators: true
George Liua6c18f82020-06-22 10:50:04 +0800113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700116SpaceBeforeParens: ControlStatements
George Liua6c18f82020-06-22 10:50:04 +0800117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
George Liua6c18f82020-06-22 10:50:04 +0800125Standard: Latest
Patrick Venture91ac8d32018-11-01 17:03:22 -0700126TabWidth: 4
127UseTab: Never
128...
Patrick Williams857da382023-05-10 07:50:20 -0500129