blob: 79a474d9d77d5461dca3fbd50a69617ae36ea547 [file] [log] [blame]
Andrew Geissler58a18012018-01-19 19:36:05 -08001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
Andrew Geisslere426b582020-05-28 12:40:55 -05008AlignEscapedNewlines: Right
Andrew Geissler58a18012018-01-19 19:36:05 -08009AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
Andrew Geissler58a18012018-01-19 19:36:05 -080017AlwaysBreakAfterReturnType: None
18AlwaysBreakBeforeMultilineStrings: false
Andrew Geisslere426b582020-05-28 12:40:55 -050019AlwaysBreakTemplateDeclarations: Yes
Andrew Geissler58a18012018-01-19 19:36:05 -080020BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
Andrew Geisslere426b582020-05-28 12:40:55 -050023 AfterCaseLabel: true
Andrew Geissler58a18012018-01-19 19:36:05 -080024 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: true
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
Andrew Geisslere426b582020-05-28 12:40:55 -050032 AfterExternBlock: true
Andrew Geissler58a18012018-01-19 19:36:05 -080033 BeforeCatch: true
34 BeforeElse: true
35 IndentBraces: false
Andrew Geisslere426b582020-05-28 12:40:55 -050036 SplitEmptyFunction: false
37 SplitEmptyRecord: false
38 SplitEmptyNamespace: false
Andrew Geissler58a18012018-01-19 19:36:05 -080039BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializers: AfterColon
Andrew Geisslere426b582020-05-28 12:40:55 -050043BreakInheritanceList: AfterColon
Andrew Geisslerad65b2d2021-09-21 12:53:29 -050044BreakStringLiterals: false
Andrew Geissler58a18012018-01-19 19:36:05 -080045ColumnLimit: 80
46CommentPragmas: '^ IWYU pragma:'
Andrew Geisslere426b582020-05-28 12:40:55 -050047CompactNamespaces: false
Andrew Geissler58a18012018-01-19 19:36:05 -080048ConstructorInitializerAllOnOneLineOrOnePerLine: false
49ConstructorInitializerIndentWidth: 4
50ContinuationIndentWidth: 4
51Cpp11BracedListStyle: true
Andrew Geisslere4bdc7c2022-05-25 14:58:54 -050052DeriveLineEnding: false
Andrew Geisslere426b582020-05-28 12:40:55 -050053DerivePointerAlignment: false
Andrew Geissler58a18012018-01-19 19:36:05 -080054PointerAlignment: Left
55DisableFormat: false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: true
58ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
Andrew Geisslere426b582020-05-28 12:40:55 -050059IncludeBlocks: Regroup
60IncludeCategories:
61 - Regex: '^[<"](gtest|gmock)'
62 Priority: 7
63 - Regex: '^"config.h"'
64 Priority: -1
65 - Regex: '^".*\.h"'
66 Priority: 1
67 - Regex: '^".*\.hpp"'
68 Priority: 2
69 - Regex: '^<.*\.h>'
70 Priority: 3
71 - Regex: '^<.*\.hpp>'
72 Priority: 4
73 - Regex: '^<.*'
74 Priority: 5
75 - Regex: '.*'
76 Priority: 6
Andrew Geissler58a18012018-01-19 19:36:05 -080077IndentCaseLabels: true
78IndentWidth: 4
Adriana Kobylak90e5ae72018-02-28 13:33:04 -060079IndentWrappedFunctionNames: true
Andrew Geisslere4bdc7c2022-05-25 14:58:54 -050080KeepEmptyLinesAtTheStartOfBlocks: false
Andrew Geissler58a18012018-01-19 19:36:05 -080081MacroBlockBegin: ''
82MacroBlockEnd: ''
83MaxEmptyLinesToKeep: 1
84NamespaceIndentation: None
85ObjCBlockIndentWidth: 2
86ObjCSpaceAfterProperty: false
87ObjCSpaceBeforeProtocolList: true
88PenaltyBreakBeforeFirstCallParameter: 19
89PenaltyBreakComment: 300
90PenaltyBreakFirstLessLess: 120
91PenaltyBreakString: 1000
92PenaltyExcessCharacter: 1000000
93PenaltyReturnTypeOnItsOwnLine: 60
Andrew Geissler58a18012018-01-19 19:36:05 -080094ReflowComments: true
Andrew Geisslere426b582020-05-28 12:40:55 -050095SortIncludes: true
96SortUsingDeclarations: true
Andrew Geissler58a18012018-01-19 19:36:05 -080097SpaceAfterCStyleCast: false
Andrew Geisslere426b582020-05-28 12:40:55 -050098SpaceAfterTemplateKeyword: true
Andrew Geissler58a18012018-01-19 19:36:05 -080099SpaceBeforeAssignmentOperators: true
Andrew Geisslere426b582020-05-28 12:40:55 -0500100SpaceBeforeCpp11BracedList: false
101SpaceBeforeCtorInitializerColon: true
102SpaceBeforeInheritanceColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800103SpaceBeforeParens: ControlStatements
Andrew Geisslere426b582020-05-28 12:40:55 -0500104SpaceBeforeRangeBasedForLoopColon: true
Andrew Geissler58a18012018-01-19 19:36:05 -0800105SpaceInEmptyParentheses: false
106SpacesBeforeTrailingComments: 1
107SpacesInAngles: false
108SpacesInContainerLiterals: true
109SpacesInCStyleCastParentheses: false
110SpacesInParentheses: false
111SpacesInSquareBrackets: false
Andrew Geisslere426b582020-05-28 12:40:55 -0500112Standard: Latest
Andrew Geissler58a18012018-01-19 19:36:05 -0800113TabWidth: 4
Andrew Geisslere4bdc7c2022-05-25 14:58:54 -0500114UseCRLF: false
Andrew Geissler58a18012018-01-19 19:36:05 -0800115UseTab: Never
116...