blob: d92a3f10a47b602bb47e3844ce15ebcf7fb92bbb [file] [log] [blame]
Patrick Venture414db5a2018-11-01 16:46:46 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Williams157063d2023-05-10 07:50:22 -05008AlignEscapedNewlines: Right
9AlignOperands: Align
10AlignTrailingComments:
11 Kind: Always
12 OverEmptyLines: 1
Patrick Venture414db5a2018-11-01 16:46:46 -070013AllowAllParametersOfDeclarationOnNextLine: true
Patrick Williams157063d2023-05-10 07:50:22 -050014AllowShortBlocksOnASingleLine: Empty
Patrick Venture414db5a2018-11-01 16:46:46 -070015AllowShortCaseLabelsOnASingleLine: false
Patrick Williams157063d2023-05-10 07:50:22 -050016AllowShortFunctionsOnASingleLine: Empty
Patrick Venture414db5a2018-11-01 16:46:46 -070017AllowShortIfStatementsOnASingleLine: false
18AllowShortLoopsOnASingleLine: false
Patrick Venture414db5a2018-11-01 16:46:46 -070019AlwaysBreakAfterReturnType: None
20AlwaysBreakBeforeMultilineStrings: false
Patrick Williams157063d2023-05-10 07:50:22 -050021AlwaysBreakTemplateDeclarations: Yes
Patrick Venture414db5a2018-11-01 16:46:46 -070022BinPackArguments: true
23BinPackParameters: true
24BraceWrapping:
Patrick Williams157063d2023-05-10 07:50:22 -050025 AfterCaseLabel: true
Patrick Venture414db5a2018-11-01 16:46:46 -070026 AfterClass: true
27 AfterControlStatement: true
28 AfterEnum: true
29 AfterFunction: true
30 AfterNamespace: true
31 AfterObjCDeclaration: true
32 AfterStruct: true
33 AfterUnion: true
Patrick Williams157063d2023-05-10 07:50:22 -050034 AfterExternBlock: true
Patrick Venture414db5a2018-11-01 16:46:46 -070035 BeforeCatch: true
36 BeforeElse: true
37 IndentBraces: false
Patrick Williams157063d2023-05-10 07:50:22 -050038 SplitEmptyFunction: false
39 SplitEmptyRecord: false
40 SplitEmptyNamespace: false
41BreakAfterAttributes: Never
Patrick Venture414db5a2018-11-01 16:46:46 -070042BreakBeforeBinaryOperators: None
43BreakBeforeBraces: Custom
44BreakBeforeTernaryOperators: true
45BreakConstructorInitializers: AfterColon
Patrick Williams157063d2023-05-10 07:50:22 -050046BreakInheritanceList: AfterColon
47BreakStringLiterals: false
Patrick Venture414db5a2018-11-01 16:46:46 -070048ColumnLimit: 80
49CommentPragmas: '^ IWYU pragma:'
Patrick Williams157063d2023-05-10 07:50:22 -050050CompactNamespaces: false
Patrick Venture414db5a2018-11-01 16:46:46 -070051ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 4
53ContinuationIndentWidth: 4
54Cpp11BracedListStyle: true
Patrick Williams157063d2023-05-10 07:50:22 -050055DeriveLineEnding: false
Patrick Venture414db5a2018-11-01 16:46:46 -070056DerivePointerAlignment: false
57PointerAlignment: Left
58DisableFormat: false
59ExperimentalAutoDetectBinPacking: false
60FixNamespaceComments: true
61ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
62IncludeBlocks: Regroup
63IncludeCategories:
64 - Regex: '^[<"](gtest|gmock)'
Patrick Williams157063d2023-05-10 07:50:22 -050065 Priority: 7
Patrick Venture414db5a2018-11-01 16:46:46 -070066 - Regex: '^"config.h"'
67 Priority: -1
Patrick Williams157063d2023-05-10 07:50:22 -050068 - Regex: '^".*\.h"'
Patrick Venture414db5a2018-11-01 16:46:46 -070069 Priority: 1
Patrick Williams157063d2023-05-10 07:50:22 -050070 - Regex: '^".*\.hpp"'
Patrick Venture414db5a2018-11-01 16:46:46 -070071 Priority: 2
Patrick Williams157063d2023-05-10 07:50:22 -050072 - Regex: '^<.*\.h>'
Patrick Venture414db5a2018-11-01 16:46:46 -070073 Priority: 3
Patrick Williams157063d2023-05-10 07:50:22 -050074 - Regex: '^<.*\.hpp>'
Patrick Venture414db5a2018-11-01 16:46:46 -070075 Priority: 4
Patrick Williams157063d2023-05-10 07:50:22 -050076 - Regex: '^<.*'
77 Priority: 5
78 - Regex: '.*'
79 Priority: 6
Patrick Venture414db5a2018-11-01 16:46:46 -070080IndentCaseLabels: true
Patrick Williams157063d2023-05-10 07:50:22 -050081IndentRequiresClause: true
Patrick Venture414db5a2018-11-01 16:46:46 -070082IndentWidth: 4
83IndentWrappedFunctionNames: true
Patrick Williams157063d2023-05-10 07:50:22 -050084InsertNewlineAtEOF: true
85KeepEmptyLinesAtTheStartOfBlocks: false
86LambdaBodyIndentation: OuterScope
87LineEnding: LF
Patrick Venture414db5a2018-11-01 16:46:46 -070088MacroBlockBegin: ''
89MacroBlockEnd: ''
90MaxEmptyLinesToKeep: 1
91NamespaceIndentation: None
92ObjCBlockIndentWidth: 2
93ObjCSpaceAfterProperty: false
94ObjCSpaceBeforeProtocolList: true
Patrick Williams157063d2023-05-10 07:50:22 -050095PenaltyBreakAssignment: 25
Patrick Venture414db5a2018-11-01 16:46:46 -070096PenaltyBreakBeforeFirstCallParameter: 19
97PenaltyBreakComment: 300
98PenaltyBreakFirstLessLess: 120
99PenaltyBreakString: 1000
100PenaltyExcessCharacter: 1000000
101PenaltyReturnTypeOnItsOwnLine: 60
Patrick Williams157063d2023-05-10 07:50:22 -0500102PenaltyIndentedWhitespace: 0
103QualifierAlignment: Left
104ReferenceAlignment: Left
Patrick Venture414db5a2018-11-01 16:46:46 -0700105ReflowComments: true
Patrick Williams157063d2023-05-10 07:50:22 -0500106RequiresClausePosition: OwnLine
107RequiresExpressionIndentation: Keyword
Patrick Venture414db5a2018-11-01 16:46:46 -0700108SortIncludes: true
109SortUsingDeclarations: true
110SpaceAfterCStyleCast: false
Patrick Williams157063d2023-05-10 07:50:22 -0500111SpaceAfterTemplateKeyword: true
Patrick Venture414db5a2018-11-01 16:46:46 -0700112SpaceBeforeAssignmentOperators: true
Patrick Williams157063d2023-05-10 07:50:22 -0500113SpaceBeforeCpp11BracedList: false
114SpaceBeforeCtorInitializerColon: true
115SpaceBeforeInheritanceColon: true
Patrick Venture414db5a2018-11-01 16:46:46 -0700116SpaceBeforeParens: ControlStatements
Patrick Williams157063d2023-05-10 07:50:22 -0500117SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture414db5a2018-11-01 16:46:46 -0700118SpaceInEmptyParentheses: false
119SpacesBeforeTrailingComments: 1
120SpacesInAngles: false
121SpacesInContainerLiterals: true
122SpacesInCStyleCastParentheses: false
123SpacesInParentheses: false
124SpacesInSquareBrackets: false
Patrick Williams157063d2023-05-10 07:50:22 -0500125Standard: Latest
Patrick Venture414db5a2018-11-01 16:46:46 -0700126TabWidth: 4
127UseTab: Never
128...
129