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