blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Thang Q. Nguyen4300d212023-05-15 12:22:53 +07001---
Patrick Williams8b050c92023-10-20 11:19:32 -05002Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
Thang Q. Nguyen4300d212023-05-15 12:22:53 +07005AlignAfterOpenBracket: Align
Thang Q. Nguyen4300d212023-05-15 12:22:53 +07006AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams8b050c92023-10-20 11:19:32 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
13AllowAllParametersOfDeclarationOnNextLine: true
14AllowShortBlocksOnASingleLine: Empty
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams8b050c92023-10-20 11:19:32 -050016AllowShortFunctionsOnASingleLine: Empty
17AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070019AllowShortLoopsOnASingleLine: false
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Patrick Williams8b050c92023-10-20 11:19:32 -050022AlwaysBreakTemplateDeclarations: Yes
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070023BinPackArguments: true
24BinPackParameters: true
Patrick Williams8b050c92023-10-20 11:19:32 -050025BitFieldColonSpacing: None
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070026BraceWrapping:
Patrick Williams8b050c92023-10-20 11:19:32 -050027 AfterCaseLabel: true
28 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
31 AfterExternBlock: true
32 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
39 BeforeLambdaBody: false
40 BeforeWhile: false
41 IndentBraces: false
42 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
45BreakAfterAttributes: Never
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
Patrick Williams8b050c92023-10-20 11:19:32 -050048BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
50BreakInheritanceList: AfterColon
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070051BreakStringLiterals: false
Patrick Williams8b050c92023-10-20 11:19:32 -050052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
54CompactNamespaces: false
55ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070058DerivePointerAlignment: false
Patrick Williams8b050c92023-10-20 11:19:32 -050059DisableFormat: false
60FixNamespaceComments: true
61ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
65IncludeBlocks: Regroup
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070066IncludeCategories:
Patrick Williams8b050c92023-10-20 11:19:32 -050067 - Regex: '^[<"](gtest|gmock)'
68 Priority: 7
69 - Regex: '^"config.h"'
70 Priority: -1
71 - Regex: '^".*\.h"'
72 Priority: 1
73 - Regex: '^".*\.hpp"'
74 Priority: 2
75 - Regex: '^<.*\.h>'
76 Priority: 3
77 - Regex: '^<.*\.hpp>'
78 Priority: 4
79 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
83IndentCaseLabels: true
84IndentExternBlock: NoIndent
85IndentRequiresClause: true
86IndentWidth: 4
87IndentWrappedFunctionNames: true
88InsertNewlineAtEOF: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070089KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams7ead0d32024-08-16 15:21:26 -040090LambdaBodyIndentation: Signature
Patrick Williams8b050c92023-10-20 11:19:32 -050091LineEnding: LF
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070092MacroBlockBegin: ''
Patrick Williams8b050c92023-10-20 11:19:32 -050093MacroBlockEnd: ''
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070094MaxEmptyLinesToKeep: 1
Patrick Williams8b050c92023-10-20 11:19:32 -050095NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
Thang Q. Nguyen4300d212023-05-15 12:22:53 +070098ObjCSpaceBeforeProtocolList: true
Patrick Williams8b050c92023-10-20 11:19:32 -050099PackConstructorInitializers: BinPack
100PenaltyBreakAssignment: 25
Patrick Williams7ead0d32024-08-16 15:21:26 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Patrick Williams8b050c92023-10-20 11:19:32 -0500102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams7ead0d32024-08-16 15:21:26 -0400105PenaltyBreakTemplateDeclaration: 10
Patrick Williams8b050c92023-10-20 11:19:32 -0500106PenaltyExcessCharacter: 1000000
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams7ead0d32024-08-16 15:21:26 -0400108PenaltyIndentedWhitespace: 1
Patrick Williams8b050c92023-10-20 11:19:32 -0500109PointerAlignment: Left
110QualifierAlignment: Left
111ReferenceAlignment: Left
112ReflowComments: true
113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
115SortIncludes: CaseSensitive
116SortUsingDeclarations: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700117SpaceAfterCStyleCast: false
118SpaceAfterTemplateKeyword: true
119SpaceBeforeAssignmentOperators: true
Patrick Williams8b050c92023-10-20 11:19:32 -0500120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700123SpaceBeforeParens: ControlStatements
Patrick Williams8b050c92023-10-20 11:19:32 -0500124SpaceBeforeRangeBasedForLoopColon: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williams8b050c92023-10-20 11:19:32 -0500127SpacesInAngles: Never
128SpacesInContainerLiterals: true
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams8b050c92023-10-20 11:19:32 -0500132Standard: Latest
133TabWidth: 4
134UseTab: Never
Thang Q. Nguyen4300d212023-05-15 12:22:53 +0700135...
Patrick Williams8b050c92023-10-20 11:19:32 -0500136