Improve debugging for new IRCv3 functionality
[quassel.git] / .clang-format
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  LLVM
4 AccessModifierOffset: -4
5 AlignAfterOpenBracket: Align
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveDeclarations: false
8 AlignEscapedNewlines: Right
9 AlignOperands:   true
10 AlignTrailingComments: true
11 AllowAllParametersOfDeclarationOnNextLine: true
12 AllowShortBlocksOnASingleLine: false
13 AllowShortCaseLabelsOnASingleLine: false
14 AllowShortFunctionsOnASingleLine: Inline
15 AllowShortIfStatementsOnASingleLine: false
16 AllowShortLoopsOnASingleLine: false
17 AlwaysBreakAfterDefinitionReturnType: None
18 AlwaysBreakAfterReturnType: None
19 AlwaysBreakBeforeMultilineStrings: false
20 AlwaysBreakTemplateDeclarations: true
21 BinPackArguments: false
22 BinPackParameters: false
23 BraceWrapping:
24   AfterClass:      true
25   AfterControlStatement: false
26   AfterEnum:       true
27   AfterFunction:   true
28   AfterNamespace:  false
29   AfterObjCDeclaration: false
30   AfterStruct:     true
31   AfterUnion:      false
32   AfterExternBlock: false
33   BeforeCatch:     true
34   BeforeElse:      true
35   IndentBraces:    false
36   SplitEmptyFunction: true
37   SplitEmptyRecord: false
38   SplitEmptyNamespace: false
39 BreakBeforeBinaryOperators: All
40 BreakBeforeBraces: Custom
41 BreakBeforeInheritanceComma: false
42 BreakBeforeTernaryOperators: true
43 BreakConstructorInitializers: BeforeComma
44 BreakAfterJavaFieldAnnotations: false
45 BreakStringLiterals: true
46 ColumnLimit:     140
47 CommentPragmas:  '^ IWYU pragma:'
48 CompactNamespaces: false
49 ConstructorInitializerAllOnOneLineOrOnePerLine: false
50 ConstructorInitializerIndentWidth: 4
51 ContinuationIndentWidth: 4
52 Cpp11BracedListStyle: true
53 DerivePointerAlignment: false
54 DisableFormat:   false
55 ExperimentalAutoDetectBinPacking: false
56 FixNamespaceComments: true
57 ForEachMacros:
58   - foreach
59   - Q_FOREACH
60   - BOOST_FOREACH
61 IncludeBlocks:   Regroup
62 IncludeCategories:
63   - Regex:           '^".*\-export\.h"'
64     Priority:        -1
65   - Regex:           '^<Q.*'
66     Priority:        3
67   - Regex:           '^<.*\.h'
68     Priority:        4
69   - Regex:           '<[[:alnum:]_]+>'
70     Priority:        1
71   - Regex:           '<[.]*>'
72     Priority:        2
73   - Regex:           '^"moc_.*"'
74     Priority:        9
75   - Regex:           '^"ui_.*"'
76     Priority:        8
77   - Regex:           '^".*/.*"'
78     Priority:        7
79   - Regex:           '^".*"'
80     Priority:        6
81   - Regex:           '.*'
82     Priority:        5
83 IncludeIsMainRegex: '(Test)?$'
84 IndentCaseLabels: false
85 IndentPPDirectives: AfterHash
86 IndentWidth:     4
87 IndentWrappedFunctionNames: true
88 JavaScriptQuotes: Leave
89 JavaScriptWrapImports: true
90 KeepEmptyLinesAtTheStartOfBlocks: false
91 MacroBlockBegin: ''
92 MacroBlockEnd:   ''
93 MaxEmptyLinesToKeep: 1
94 NamespaceIndentation: None
95 ObjCBlockIndentWidth: 2
96 ObjCSpaceAfterProperty: false
97 ObjCSpaceBeforeProtocolList: true
98 PenaltyBreakAssignment: 200
99 PenaltyBreakBeforeFirstCallParameter: 500
100 PenaltyBreakComment: 300
101 PenaltyBreakFirstLessLess: 120
102 PenaltyBreakString: 1000
103 PenaltyExcessCharacter: 10
104 PenaltyReturnTypeOnItsOwnLine: 600
105 PointerAlignment: Left
106 ReflowComments:  true
107 SortIncludes:    true
108 SortUsingDeclarations: true
109 SpaceAfterCStyleCast: false
110 SpaceAfterTemplateKeyword: false
111 SpaceBeforeAssignmentOperators: true
112 SpaceBeforeCpp11BracedList: false
113 SpaceBeforeCtorInitializerColon: true
114 SpaceBeforeParens: ControlStatements
115 SpaceBeforeRangeBasedForLoopColon: true
116 SpaceInEmptyParentheses: false
117 SpacesBeforeTrailingComments: 2
118 SpacesInAngles:  false
119 SpacesInContainerLiterals: false
120 SpacesInCStyleCastParentheses: false
121 SpacesInParentheses: false
122 SpacesInSquareBrackets: false
123 Standard:        Cpp11
124 TabWidth:        8
125 UseTab:          Never
126 ...