Support conversion of linkshere
[dueringa_WikiWalker.git] / .clang-format
blob966260f13f78e1018ca845a3234b014597231a6b
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Chromium
4 AccessModifierOffset: -2
5 # AlwaysBreak is also okay
6 AlignAfterOpenBracket: Align
7 AlignConsecutiveAssignments: true
8 AlignConsecutiveDeclarations: false
9 # maybe false?
10 AlignEscapedNewlinesLeft: true
11 # ?
12 AlignOperands:   true
13 AlignTrailingComments: true
14 AllowAllParametersOfDeclarationOnNextLine: false
15 AllowShortBlocksOnASingleLine: false
16 AllowShortCaseLabelsOnASingleLine: false
17 AllowShortFunctionsOnASingleLine: None
18 AllowShortIfStatementsOnASingleLine: false
19 AllowShortLoopsOnASingleLine: false
20 AlwaysBreakAfterDefinitionReturnType: None
21 AlwaysBreakAfterReturnType: None
22 AlwaysBreakBeforeMultilineStrings: true
23 AlwaysBreakTemplateDeclarations: true
24 # looks nicer
25 BinPackArguments: false
26 BinPackParameters: false
27 BraceWrapping:   
28   AfterClass:      false
29   AfterControlStatement: false
30   AfterEnum:       false
31   AfterFunction:   false
32   AfterNamespace:  false
33   AfterObjCDeclaration: false
34   AfterStruct:     false
35   AfterUnion:      false
36   BeforeCatch:     false
37   BeforeElse:      false
38   IndentBraces:    false
39 BreakBeforeBinaryOperators: None
40 BreakBeforeBraces: Linux
41 BreakBeforeTernaryOperators: true
42 # ?
43 BreakConstructorInitializersBeforeComma: false
44 ColumnLimit: 80
45 CommentPragmas:  '^ IWYU pragma:'
46 ConstructorInitializerAllOnOneLineOrOnePerLine: true
47 ConstructorInitializerIndentWidth: 4
48 ContinuationIndentWidth: 4
49 Cpp11BracedListStyle: true
50 DerivePointerAlignment: false
51 DisableFormat:   false
52 ExperimentalAutoDetectBinPacking: false
53 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
54 IncludeCategories: 
55   - Regex:           '^<.*\.h>'
56     Priority:        1
57   - Regex:           '^<.*'
58     Priority:        2
59   - Regex:           '.*'
60     Priority:        3
61 IndentCaseLabels: true
62 IndentWidth:     2
63 IndentWrappedFunctionNames: false
64 KeepEmptyLinesAtTheStartOfBlocks: false
65 MacroBlockBegin: ''
66 MacroBlockEnd:   ''
67 MaxEmptyLinesToKeep: 1
68 NamespaceIndentation: All
69 ObjCBlockIndentWidth: 2
70 ObjCSpaceAfterProperty: false
71 ObjCSpaceBeforeProtocolList: false
72 PenaltyBreakBeforeFirstCallParameter: 1
73 PenaltyBreakComment: 300
74 PenaltyBreakFirstLessLess: 120
75 PenaltyBreakString: 1000
76 PenaltyExcessCharacter: 1000000
77 PenaltyReturnTypeOnItsOwnLine: 200
78 PointerAlignment: Left
79 # ?
80 ReflowComments:  true
81 SortIncludes:    false
82 SpaceAfterCStyleCast: false
83 SpaceBeforeAssignmentOperators: true
84 SpaceBeforeParens: Never
85 SpaceInEmptyParentheses: false
86 SpacesBeforeTrailingComments: 2
87 SpacesInAngles:  false
88 SpacesInContainerLiterals: true
89 SpacesInCStyleCastParentheses: false
90 SpacesInParentheses: false
91 SpacesInSquareBrackets: false
92 Standard:        Cpp11
93 TabWidth:        4
94 UseTab:          Never
95 ...