blob: 28e3328699128f61f3c477bf0baeaec13e4ba107 [file] [log] [blame]
Jason M. Bills618c1ea2018-10-19 14:51:15 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Zhikui Ren672bdfc2020-07-14 11:37:01 -07008AlignEscapedNewlines: Right
Patrick Williams69f7fa32023-05-10 07:50:41 -05009AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Jason M. Bills618c1ea2018-10-19 14:51:15 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams69f7fa32023-05-10 07:50:41 -050014AllowShortBlocksOnASingleLine: Empty
Jason M. Bills618c1ea2018-10-19 14:51:15 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams69f7fa32023-05-10 07:50:41 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Williamsc68ea052023-10-20 11:19:00 -050017AllowShortIfStatementsOnASingleLine: Never
18AllowShortLambdasOnASingleLine: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -070019AllowShortLoopsOnASingleLine: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070020AlwaysBreakAfterReturnType: None
21AlwaysBreakBeforeMultilineStrings: false
Zhikui Ren672bdfc2020-07-14 11:37:01 -070022AlwaysBreakTemplateDeclarations: Yes
Jason M. Bills618c1ea2018-10-19 14:51:15 -070023BinPackArguments: true
24BinPackParameters: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050025BitFieldColonSpacing: None
Jason M. Bills618c1ea2018-10-19 14:51:15 -070026BraceWrapping:
Zhikui Ren672bdfc2020-07-14 11:37:01 -070027 AfterCaseLabel: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -070028 AfterClass: true
29 AfterControlStatement: true
30 AfterEnum: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050031 AfterExternBlock: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -070032 AfterFunction: true
33 AfterNamespace: true
34 AfterObjCDeclaration: true
35 AfterStruct: true
36 AfterUnion: true
37 BeforeCatch: true
38 BeforeElse: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050039 BeforeLambdaBody: false
40 BeforeWhile: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070041 IndentBraces: false
Zhikui Ren672bdfc2020-07-14 11:37:01 -070042 SplitEmptyFunction: false
43 SplitEmptyRecord: false
44 SplitEmptyNamespace: false
Patrick Williams69f7fa32023-05-10 07:50:41 -050045BreakAfterAttributes: Never
Jason M. Bills618c1ea2018-10-19 14:51:15 -070046BreakBeforeBinaryOperators: None
47BreakBeforeBraces: Custom
48BreakBeforeTernaryOperators: true
49BreakConstructorInitializers: AfterColon
Zhikui Ren672bdfc2020-07-14 11:37:01 -070050BreakInheritanceList: AfterColon
Patrick Williams69f7fa32023-05-10 07:50:41 -050051BreakStringLiterals: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070052ColumnLimit: 80
53CommentPragmas: '^ IWYU pragma:'
Zhikui Ren672bdfc2020-07-14 11:37:01 -070054CompactNamespaces: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070055ConstructorInitializerIndentWidth: 4
56ContinuationIndentWidth: 4
57Cpp11BracedListStyle: true
Zhikui Ren672bdfc2020-07-14 11:37:01 -070058DerivePointerAlignment: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070059DisableFormat: false
Jason M. Bills618c1ea2018-10-19 14:51:15 -070060FixNamespaceComments: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050061ForEachMacros:
62 - foreach
63 - Q_FOREACH
64 - BOOST_FOREACH
Jason M. Bills618c1ea2018-10-19 14:51:15 -070065IncludeBlocks: Regroup
66IncludeCategories:
67 - Regex: '^[<"](gtest|gmock)'
Zhikui Ren672bdfc2020-07-14 11:37:01 -070068 Priority: 7
Jason M. Bills618c1ea2018-10-19 14:51:15 -070069 - Regex: '^"config.h"'
70 Priority: -1
Zhikui Ren672bdfc2020-07-14 11:37:01 -070071 - Regex: '^".*\.h"'
Jason M. Bills618c1ea2018-10-19 14:51:15 -070072 Priority: 1
Zhikui Ren672bdfc2020-07-14 11:37:01 -070073 - Regex: '^".*\.hpp"'
Jason M. Bills618c1ea2018-10-19 14:51:15 -070074 Priority: 2
Zhikui Ren672bdfc2020-07-14 11:37:01 -070075 - Regex: '^<.*\.h>'
Jason M. Bills618c1ea2018-10-19 14:51:15 -070076 Priority: 3
Zhikui Ren672bdfc2020-07-14 11:37:01 -070077 - Regex: '^<.*\.hpp>'
Jason M. Bills618c1ea2018-10-19 14:51:15 -070078 Priority: 4
Zhikui Ren672bdfc2020-07-14 11:37:01 -070079 - Regex: '^<.*'
80 Priority: 5
81 - Regex: '.*'
82 Priority: 6
Jason M. Bills618c1ea2018-10-19 14:51:15 -070083IndentCaseLabels: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050084IndentExternBlock: NoIndent
Patrick Williams69f7fa32023-05-10 07:50:41 -050085IndentRequiresClause: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -070086IndentWidth: 4
87IndentWrappedFunctionNames: true
Patrick Williams69f7fa32023-05-10 07:50:41 -050088InsertNewlineAtEOF: true
89KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Williams5a18f102024-08-16 15:20:38 -040090LambdaBodyIndentation: Signature
Patrick Williams69f7fa32023-05-10 07:50:41 -050091LineEnding: LF
Jason M. Bills618c1ea2018-10-19 14:51:15 -070092MacroBlockBegin: ''
93MacroBlockEnd: ''
94MaxEmptyLinesToKeep: 1
95NamespaceIndentation: None
96ObjCBlockIndentWidth: 2
97ObjCSpaceAfterProperty: false
98ObjCSpaceBeforeProtocolList: true
Patrick Williamsc68ea052023-10-20 11:19:00 -050099PackConstructorInitializers: BinPack
Patrick Williams69f7fa32023-05-10 07:50:41 -0500100PenaltyBreakAssignment: 25
Patrick Williams5a18f102024-08-16 15:20:38 -0400101PenaltyBreakBeforeFirstCallParameter: 50
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700102PenaltyBreakComment: 300
103PenaltyBreakFirstLessLess: 120
104PenaltyBreakString: 1000
Patrick Williams5a18f102024-08-16 15:20:38 -0400105PenaltyBreakTemplateDeclaration: 10
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700106PenaltyExcessCharacter: 1000000
107PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams5a18f102024-08-16 15:20:38 -0400108PenaltyIndentedWhitespace: 1
Patrick Williamsc68ea052023-10-20 11:19:00 -0500109PointerAlignment: Left
Patrick Williams69f7fa32023-05-10 07:50:41 -0500110QualifierAlignment: Left
111ReferenceAlignment: Left
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700112ReflowComments: true
Patrick Williams69f7fa32023-05-10 07:50:41 -0500113RequiresClausePosition: OwnLine
114RequiresExpressionIndentation: Keyword
Patrick Williamsc68ea052023-10-20 11:19:00 -0500115SortIncludes: CaseSensitive
Zhikui Ren672bdfc2020-07-14 11:37:01 -0700116SortUsingDeclarations: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700117SpaceAfterCStyleCast: false
Zhikui Ren672bdfc2020-07-14 11:37:01 -0700118SpaceAfterTemplateKeyword: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700119SpaceBeforeAssignmentOperators: true
Zhikui Ren672bdfc2020-07-14 11:37:01 -0700120SpaceBeforeCpp11BracedList: false
121SpaceBeforeCtorInitializerColon: true
122SpaceBeforeInheritanceColon: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700123SpaceBeforeParens: ControlStatements
Zhikui Ren672bdfc2020-07-14 11:37:01 -0700124SpaceBeforeRangeBasedForLoopColon: true
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700125SpaceInEmptyParentheses: false
126SpacesBeforeTrailingComments: 1
Patrick Williamsc68ea052023-10-20 11:19:00 -0500127SpacesInAngles: Never
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700128SpacesInContainerLiterals: true
129SpacesInCStyleCastParentheses: false
130SpacesInParentheses: false
131SpacesInSquareBrackets: false
Patrick Williams69f7fa32023-05-10 07:50:41 -0500132Standard: Latest
Jason M. Bills618c1ea2018-10-19 14:51:15 -0700133TabWidth: 4
134UseTab: Never
135...
Zhikui Ren672bdfc2020-07-14 11:37:01 -0700136