blob: 8a799fd7ecec42306b9b760019b5dee298f17694 [file] [log] [blame]
Sébastien Blin1f915762020-08-03 13:27:42 -04001Language: Cpp
2AccessModifierOffset: -4
3AlignAfterOpenBracket: Align
4AlignConsecutiveAssignments: false
5AlignConsecutiveDeclarations: false
6AlignEscapedNewlines: DontAlign
7AlignOperands: true
8AlignTrailingComments: true
9AllowAllParametersOfDeclarationOnNextLine: true
10AllowShortBlocksOnASingleLine: false
11AllowShortCaseLabelsOnASingleLine: false
12AllowShortFunctionsOnASingleLine: Inline
13AllowShortIfStatementsOnASingleLine: false
14AllowShortLoopsOnASingleLine: false
15AlwaysBreakAfterReturnType: None
16AlwaysBreakBeforeMultilineStrings: false
17AlwaysBreakTemplateDeclarations: true
18AlwaysBreakAfterDefinitionReturnType: All
19BinPackArguments: false
20BinPackParameters: false
21BraceWrapping:
22 AfterClass: true
23 AfterControlStatement: false
24 AfterEnum: false
25 AfterFunction: true
26 AfterNamespace: false
27 AfterObjCDeclaration: false
28 AfterStruct: true
29 AfterUnion: false
30 BeforeCatch: false
31 BeforeElse: false
32 IndentBraces: false
33 SplitEmptyFunction: false
34 SplitEmptyRecord: false
35 SplitEmptyNamespace: false
36BreakBeforeBinaryOperators: All
37BreakBeforeBraces: Custom
38BreakBeforeInheritanceComma: false
39BreakBeforeTernaryOperators: true
40BreakConstructorInitializersBeforeComma: false
41BreakConstructorInitializers: BeforeComma
42BreakAfterJavaFieldAnnotations: false
43BreakStringLiterals: true
44ColumnLimit: 100
45CommentPragmas: '^ IWYU pragma:'
46CompactNamespaces: false
47ConstructorInitializerAllOnOneLineOrOnePerLine: false
48ConstructorInitializerIndentWidth: 4
49ContinuationIndentWidth: 4
50Cpp11BracedListStyle: true
51DerivePointerAlignment: false
52DisableFormat: false
53ExperimentalAutoDetectBinPacking: false
54FixNamespaceComments: true
55ForEachMacros:
56 - forever # avoids { wrapped to next line
57 - foreach
58 - Q_FOREACH
59 - BOOST_FOREACH
60IncludeCategories:
61 - Regex: '^<Q.*'
62 Priority: 200
63IncludeIsMainRegex: '(Test)?$'
64IndentCaseLabels: false
65IndentWidth: 4
66IndentWrappedFunctionNames: false
67JavaScriptQuotes: Leave
68JavaScriptWrapImports: true
69KeepEmptyLinesAtTheStartOfBlocks: false
70# Do not add QT_BEGIN_NAMESPACE/QT_END_NAMESPACE as this will indent lines in between.
71MacroBlockBegin: ""
72MacroBlockEnd: ""
73MaxEmptyLinesToKeep: 1
74NamespaceIndentation: None
75ObjCBlockIndentWidth: 4
76ObjCSpaceAfterProperty: false
77ObjCSpaceBeforeProtocolList: true
78PenaltyBreakAssignment: 150
79PenaltyBreakBeforeFirstCallParameter: 300
80PenaltyBreakComment: 500
81PenaltyBreakFirstLessLess: 400
82PenaltyBreakString: 600
83PenaltyExcessCharacter: 50
84PenaltyReturnTypeOnItsOwnLine: 300
85PointerAlignment: Right
86ReflowComments: false
87SortIncludes: true
88SortUsingDeclarations: true
89SpaceAfterCStyleCast: true
90SpaceAfterTemplateKeyword: false
91SpaceBeforeAssignmentOperators: true
92SpaceBeforeParens: ControlStatements
93SpaceInEmptyParentheses: false
94SpacesBeforeTrailingComments: 1
95SpacesInAngles: false
96SpacesInContainerLiterals: false
97SpacesInCStyleCastParentheses: false
98SpacesInParentheses: false
99SpacesInSquareBrackets: false
100Standard: Cpp11
101TabWidth: 4