blob: 00e2e25803b1473dd885cc7b5d978922cb40e728 [file] [log] [blame]
Patrick Venture123b5c02019-03-05 14:01:00 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Patrick Venture60edc612020-06-24 15:06:41 -07008AlignEscapedNewlines: Right
Patrick Venture123b5c02019-03-05 14:01:00 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Patrick Venture123b5c02019-03-05 14:01:00 -080017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Patrick Venture60edc612020-06-24 15:06:41 -070019AlwaysBreakTemplateDeclarations: Yes
Patrick Venture123b5c02019-03-05 14:01:00 -080020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Patrick Venture60edc612020-06-24 15:06:41 -070023 AfterCaseLabel: true
Patrick Venture123b5c02019-03-05 14:01:00 -080024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Patrick Venture60edc612020-06-24 15:06:41 -070032 AfterExternBlock: true
Patrick Venture123b5c02019-03-05 14:01:00 -080033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Patrick Venture60edc612020-06-24 15:06:41 -070036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Patrick Venture123b5c02019-03-05 14:01:00 -080039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Patrick Venture60edc612020-06-24 15:06:41 -070043BreakInheritanceList: AfterColon
Brandon Kimd3c06f92022-07-20 17:36:53 +000044BreakStringLiterals: false
Patrick Venture123b5c02019-03-05 14:01:00 -080045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Patrick Venture60edc612020-06-24 15:06:41 -070047CompactNamespaces: false
Patrick Venture123b5c02019-03-05 14:01:00 -080048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Brandon Kimd3c06f92022-07-20 17:36:53 +000052DeriveLineEnding: false
Patrick Venture123b5c02019-03-05 14:01:00 -080053DerivePointerAlignment: false
54PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
59IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
Patrick Venture60edc612020-06-24 15:06:41 -070062 Priority: 7
Patrick Venture123b5c02019-03-05 14:01:00 -080063 - Regex: '^"config.h"'
64 Priority: -1
Patrick Venture60edc612020-06-24 15:06:41 -070065 - Regex: '^".*\.h"'
Patrick Venture123b5c02019-03-05 14:01:00 -080066 Priority: 1
Patrick Venture60edc612020-06-24 15:06:41 -070067 - Regex: '^".*\.hpp"'
Patrick Venture123b5c02019-03-05 14:01:00 -080068 Priority: 2
Patrick Venture60edc612020-06-24 15:06:41 -070069 - Regex: '^<.*\.h>'
Patrick Venture123b5c02019-03-05 14:01:00 -080070 Priority: 3
Patrick Venture60edc612020-06-24 15:06:41 -070071 - Regex: '^<.*\.hpp>'
Patrick Venture123b5c02019-03-05 14:01:00 -080072 Priority: 4
Patrick Venture60edc612020-06-24 15:06:41 -070073 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Patrick Venture123b5c02019-03-05 14:01:00 -080077IndentCaseLabels: true
78IndentWidth: 4
79IndentWrappedFunctionNames: true
Brandon Kimd3c06f92022-07-20 17:36:53 +000080KeepEmptyLinesAtTheStartOfBlocks: false
Patrick Venture123b5c02019-03-05 14:01:00 -080081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
94ReflowComments: true
95SortIncludes: true
96SortUsingDeclarations: true
97SpaceAfterCStyleCast: false
Patrick Venture60edc612020-06-24 15:06:41 -070098SpaceAfterTemplateKeyword: true
Patrick Venture123b5c02019-03-05 14:01:00 -080099SpaceBeforeAssignmentOperators: true
Patrick Venture60edc612020-06-24 15:06:41 -0700100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800103SpaceBeforeParens: ControlStatements
Patrick Venture60edc612020-06-24 15:06:41 -0700104SpaceBeforeRangeBasedForLoopColon: true
Patrick Venture123b5c02019-03-05 14:01:00 -0800105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Patrick Venture60edc612020-06-24 15:06:41 -0700112Standard: Latest
Patrick Venture123b5c02019-03-05 14:01:00 -0800113TabWidth: 4
Brandon Kimd3c06f92022-07-20 17:36:53 +0000114UseCRLF: false
Patrick Venture123b5c02019-03-05 14:01:00 -0800115UseTab: Never
116...
117