xref: /libevent-2.1.12/.clang-format (revision f523cb79)
1*f523cb79SAzat Khuzhin---
2*f523cb79SAzat KhuzhinLanguage:          Cpp
3*f523cb79SAzat KhuzhinBasedOnStyle:      LLVM
4*f523cb79SAzat Khuzhin
5*f523cb79SAzat KhuzhinAccessModifierOffset: -4
6*f523cb79SAzat Khuzhin
7*f523cb79SAzat KhuzhinAlignAfterOpenBracket: DontAlign
8*f523cb79SAzat KhuzhinAlignEscapedNewlinesLeft: true
9*f523cb79SAzat Khuzhin# AlignOperands: true
10*f523cb79SAzat KhuzhinAlignTrailingComments: true
11*f523cb79SAzat Khuzhin
12*f523cb79SAzat KhuzhinAllowAllParametersOfDeclarationOnNextLine: true
13*f523cb79SAzat KhuzhinAllowShortBlocksOnASingleLine: false
14*f523cb79SAzat KhuzhinAllowShortCaseLabelsOnASingleLine: false
15*f523cb79SAzat KhuzhinAllowShortFunctionsOnASingleLine: All
16*f523cb79SAzat KhuzhinAllowShortIfStatementsOnASingleLine: false
17*f523cb79SAzat KhuzhinAllowShortLoopsOnASingleLine: false
18*f523cb79SAzat Khuzhin
19*f523cb79SAzat KhuzhinAlwaysBreakAfterDefinitionReturnType: All
20*f523cb79SAzat KhuzhinAlwaysBreakBeforeMultilineStrings: false
21*f523cb79SAzat KhuzhinAlwaysBreakTemplateDeclarations: false
22*f523cb79SAzat Khuzhin
23*f523cb79SAzat Khuzhin# BinPackArguments: false
24*f523cb79SAzat Khuzhin# BinPackParameters: true
25*f523cb79SAzat Khuzhin
26*f523cb79SAzat KhuzhinBreakBeforeBinaryOperators: false
27*f523cb79SAzat KhuzhinBreakBeforeBraces: Custom
28*f523cb79SAzat KhuzhinBraceWrapping: { AfterFunction: true }
29*f523cb79SAzat KhuzhinBreakBeforeTernaryOperators: true
30*f523cb79SAzat KhuzhinBreakConstructorInitializersBeforeComma: true
31*f523cb79SAzat Khuzhin
32*f523cb79SAzat KhuzhinColumnLimit:     80
33*f523cb79SAzat Khuzhin
34*f523cb79SAzat KhuzhinContinuationIndentWidth: 4
35*f523cb79SAzat Khuzhin
36*f523cb79SAzat KhuzhinDerivePointerAlignment: false #XXX
37*f523cb79SAzat KhuzhinDisableFormat:   false
38*f523cb79SAzat KhuzhinExperimentalAutoDetectBinPacking: false #XXX
39*f523cb79SAzat KhuzhinForEachMacros:   [ LIST_FOREACH, SIMPLEQ_FOREACH, CIRCLEQ_FOREACH, TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, HT_FOREACH ]
40*f523cb79SAzat Khuzhin
41*f523cb79SAzat KhuzhinIndentCaseLabels: false
42*f523cb79SAzat KhuzhinIndentFunctionDeclarationAfterType: false
43*f523cb79SAzat KhuzhinIndentWidth:     4
44*f523cb79SAzat KhuzhinIndentWrappedFunctionNames: false
45*f523cb79SAzat Khuzhin
46*f523cb79SAzat KhuzhinKeepEmptyLinesAtTheStartOfBlocks: true
47*f523cb79SAzat KhuzhinMaxEmptyLinesToKeep: 2
48*f523cb79SAzat Khuzhin
49*f523cb79SAzat KhuzhinPointerAlignment: Right #XXX
50*f523cb79SAzat Khuzhin
51*f523cb79SAzat Khuzhin# SpaceAfterCStyleCast: false
52*f523cb79SAzat KhuzhinSpaceBeforeAssignmentOperators: true
53*f523cb79SAzat KhuzhinSpaceBeforeParens: ControlStatements
54*f523cb79SAzat KhuzhinSpaceInEmptyParentheses: false
55*f523cb79SAzat KhuzhinSpacesBeforeTrailingComments: 1
56*f523cb79SAzat KhuzhinSpacesInAngles:  false
57*f523cb79SAzat KhuzhinSpacesInCStyleCastParentheses: false
58*f523cb79SAzat KhuzhinSpacesInParentheses: false
59*f523cb79SAzat KhuzhinStandard:        Cpp03
60*f523cb79SAzat KhuzhinTabWidth:        4
61*f523cb79SAzat KhuzhinUseTab:          Always
62*f523cb79SAzat KhuzhinSortIncludes:    false
63*f523cb79SAzat Khuzhin...
64