File: .clang-format

package info (click to toggle)
swift-im 5.0~alpha2.145.g12d031cf8%2Bdfsg-4.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,256 kB
  • sloc: cpp: 134,640; python: 2,701; sh: 774; xml: 561; javascript: 69; makefile: 59
file content (39 lines) | stat: -rw-r--r-- 2,098 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
Language:                                       Cpp
UseTab:                                         Never
TabWidth:                                       2
Standard:                                       Cpp11
ConstructorInitializerIndentWidth:              2
ContinuationIndentWidth:                        2
IndentWidth:                                    2
PointerAlignment:                               Left
ReflowComments:                                 false
# clang-format does not correctly detect corresponding header files at the moment.
# Use BuildTools/FixIncludes.py for now. Enable this when it does.
SortIncludes:                                   false
AccessModifierOffset:                           -2
NamespaceIndentation:                           All
# A ultra high column limit is required as a column limit of 0 does not work as documented.
ColumnLimit:                                    900
AllowShortBlocksOnASingleLine:                  false
AllowShortFunctionsOnASingleLine:               Empty
AllowShortLoopsOnASingleLine:                   false
IndentCaseLabels:                               true
BreakBeforeBraces:                              Custom
BraceWrapping:
  AfterClass:                                   false
  AfterControlStatement:                        false
  AfterEnum:                                    false
  AfterFunction:                                false
  AfterNamespace:                               false
  AfterObjCDeclaration:                         false
  AfterStruct:                                  false
  AfterUnion:                                   false
  BeforeCatch:                                  true
  BeforeElse:                                   true
  IndentBraces:                                 false
ForEachMacros:                                  [ foreach, Q_FOREACH, BOOST_FOREACH ]
BreakConstructorInitializersBeforeComma:        false
AlignAfterOpenBracket:                          Align
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AlwaysBreakTemplateDeclarations:                true