blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [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 Williams543ac9f2024-08-16 15:19:59 -040090LambdaBodyIndentation: Signature
Patrick Williams857da382023-05-10 07:50:20 -050091LineEnding: 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 Williams543ac9f2024-08-16 15:19:59 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Venture91ac8d32018-11-01 17:03:22 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams543ac9f2024-08-16 15:19:59 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Venture91ac8d32018-11-01 17:03:22 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams543ac9f2024-08-16 15:19:59 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams605600e2023-10-20 11:18:04 -0500109PointerAlignment: Left
Patrick Williams857da382023-05-10 07:50:20 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Patrick Venture91ac8d32018-11-01 17:03:22 -0700112ReflowComments: true
Patrick Williams857da382023-05-10 07:50:20 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williams605600e2023-10-20 11:18:04 -0500115SortIncludes: CaseSensitive
Patrick Venture91ac8d32018-11-01 17:03:22 -0700116SortUsingDeclarations: true
117SpaceAfterCStyleCast: false
George Liua6c18f82020-06-22 10:50:04 +0800118SpaceAfterTemplateKeyword: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700119SpaceBeforeAssignmentOperators: true
George Liua6c18f82020-06-22 10:50:04 +0800120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700123SpaceBeforeParens: ControlStatements
George Liua6c18f82020-06-22 10:50:04 +0800124SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture91ac8d32018-11-01 17:03:22 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams605600e2023-10-20 11:18:04 -0500127SpacesInAngles: Never
Patrick Venture91ac8d32018-11-01 17:03:22 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
George Liua6c18f82020-06-22 10:50:04 +0800132Standard: Latest
Patrick Venture91ac8d32018-11-01 17:03:22 -0700133TabWidth: 4
134UseTab: Never
135...
Patrick Williams605600e2023-10-20 11:18:04 -0500136