xref: /freebsd/contrib/libcbor/.clang-format (revision 10ff414c14eef433d8157f0c17904d740693933b)
1*10ff414cSEd Maste---
2*10ff414cSEd MasteLanguage:        Cpp
3*10ff414cSEd Maste# BasedOnStyle:  Google
4*10ff414cSEd MasteAccessModifierOffset: -1
5*10ff414cSEd MasteAlignAfterOpenBracket: Align
6*10ff414cSEd MasteAlignConsecutiveAssignments: false
7*10ff414cSEd MasteAlignConsecutiveDeclarations: false
8*10ff414cSEd MasteAlignEscapedNewlines: Left
9*10ff414cSEd MasteAlignOperands:   true
10*10ff414cSEd MasteAlignTrailingComments: true
11*10ff414cSEd MasteAllowAllParametersOfDeclarationOnNextLine: true
12*10ff414cSEd MasteAllowShortBlocksOnASingleLine: false
13*10ff414cSEd MasteAllowShortCaseLabelsOnASingleLine: false
14*10ff414cSEd MasteAllowShortFunctionsOnASingleLine: All
15*10ff414cSEd MasteAllowShortIfStatementsOnASingleLine: true
16*10ff414cSEd MasteAllowShortLoopsOnASingleLine: true
17*10ff414cSEd MasteAlwaysBreakAfterDefinitionReturnType: None
18*10ff414cSEd MasteAlwaysBreakAfterReturnType: None
19*10ff414cSEd MasteAlwaysBreakBeforeMultilineStrings: true
20*10ff414cSEd MasteAlwaysBreakTemplateDeclarations: true
21*10ff414cSEd MasteBinPackArguments: true
22*10ff414cSEd MasteBinPackParameters: true
23*10ff414cSEd MasteBraceWrapping:
24*10ff414cSEd Maste  AfterClass:      false
25*10ff414cSEd Maste  AfterControlStatement: false
26*10ff414cSEd Maste  AfterEnum:       false
27*10ff414cSEd Maste  AfterFunction:   false
28*10ff414cSEd Maste  AfterNamespace:  false
29*10ff414cSEd Maste  AfterObjCDeclaration: false
30*10ff414cSEd Maste  AfterStruct:     false
31*10ff414cSEd Maste  AfterUnion:      false
32*10ff414cSEd Maste  AfterExternBlock: false
33*10ff414cSEd Maste  BeforeCatch:     false
34*10ff414cSEd Maste  BeforeElse:      false
35*10ff414cSEd Maste  IndentBraces:    false
36*10ff414cSEd Maste  SplitEmptyFunction: true
37*10ff414cSEd Maste  SplitEmptyRecord: true
38*10ff414cSEd Maste  SplitEmptyNamespace: true
39*10ff414cSEd MasteBreakBeforeBinaryOperators: None
40*10ff414cSEd MasteBreakBeforeBraces: Attach
41*10ff414cSEd MasteBreakBeforeInheritanceComma: false
42*10ff414cSEd MasteBreakInheritanceList: BeforeColon
43*10ff414cSEd MasteBreakBeforeTernaryOperators: true
44*10ff414cSEd MasteBreakConstructorInitializersBeforeComma: false
45*10ff414cSEd MasteBreakConstructorInitializers: BeforeColon
46*10ff414cSEd MasteBreakAfterJavaFieldAnnotations: false
47*10ff414cSEd MasteBreakStringLiterals: true
48*10ff414cSEd MasteColumnLimit:     80
49*10ff414cSEd MasteCommentPragmas:  '^ IWYU pragma:'
50*10ff414cSEd MasteCompactNamespaces: false
51*10ff414cSEd MasteConstructorInitializerAllOnOneLineOrOnePerLine: true
52*10ff414cSEd MasteConstructorInitializerIndentWidth: 4
53*10ff414cSEd MasteContinuationIndentWidth: 4
54*10ff414cSEd MasteCpp11BracedListStyle: true
55*10ff414cSEd MasteDerivePointerAlignment: true
56*10ff414cSEd MasteDisableFormat:   false
57*10ff414cSEd MasteExperimentalAutoDetectBinPacking: false
58*10ff414cSEd MasteFixNamespaceComments: true
59*10ff414cSEd MasteForEachMacros:
60*10ff414cSEd Maste  - foreach
61*10ff414cSEd Maste  - Q_FOREACH
62*10ff414cSEd Maste  - BOOST_FOREACH
63*10ff414cSEd MasteIncludeBlocks:   Preserve
64*10ff414cSEd MasteIncludeCategories:
65*10ff414cSEd Maste  - Regex:           '^<ext/.*\.h>'
66*10ff414cSEd Maste    Priority:        2
67*10ff414cSEd Maste  - Regex:           '^<.*\.h>'
68*10ff414cSEd Maste    Priority:        1
69*10ff414cSEd Maste  - Regex:           '^<.*'
70*10ff414cSEd Maste    Priority:        2
71*10ff414cSEd Maste  - Regex:           '.*'
72*10ff414cSEd Maste    Priority:        3
73*10ff414cSEd MasteIncludeIsMainRegex: '([-_](test|unittest))?$'
74*10ff414cSEd MasteIndentCaseLabels: true
75*10ff414cSEd MasteIndentPPDirectives: None
76*10ff414cSEd MasteIndentWidth:     2
77*10ff414cSEd MasteIndentWrappedFunctionNames: false
78*10ff414cSEd MasteJavaScriptQuotes: Leave
79*10ff414cSEd MasteJavaScriptWrapImports: true
80*10ff414cSEd MasteKeepEmptyLinesAtTheStartOfBlocks: false
81*10ff414cSEd MasteMacroBlockBegin: ''
82*10ff414cSEd MasteMacroBlockEnd:   ''
83*10ff414cSEd MasteMaxEmptyLinesToKeep: 1
84*10ff414cSEd MasteNamespaceIndentation: None
85*10ff414cSEd MasteObjCBinPackProtocolList: Never
86*10ff414cSEd MasteObjCBlockIndentWidth: 2
87*10ff414cSEd MasteObjCSpaceAfterProperty: false
88*10ff414cSEd MasteObjCSpaceBeforeProtocolList: true
89*10ff414cSEd MastePenaltyBreakAssignment: 2
90*10ff414cSEd MastePenaltyBreakBeforeFirstCallParameter: 1
91*10ff414cSEd MastePenaltyBreakComment: 300
92*10ff414cSEd MastePenaltyBreakFirstLessLess: 120
93*10ff414cSEd MastePenaltyBreakString: 1000
94*10ff414cSEd MastePenaltyBreakTemplateDeclaration: 10
95*10ff414cSEd MastePenaltyExcessCharacter: 1000000
96*10ff414cSEd MastePenaltyReturnTypeOnItsOwnLine: 200
97*10ff414cSEd MastePointerAlignment: Left
98*10ff414cSEd MasteRawStringFormats:
99*10ff414cSEd Maste  - Language:        Cpp
100*10ff414cSEd Maste    Delimiters:
101*10ff414cSEd Maste      - cc
102*10ff414cSEd Maste      - CC
103*10ff414cSEd Maste      - cpp
104*10ff414cSEd Maste      - Cpp
105*10ff414cSEd Maste      - CPP
106*10ff414cSEd Maste      - 'c++'
107*10ff414cSEd Maste      - 'C++'
108*10ff414cSEd Maste    CanonicalDelimiter: ''
109*10ff414cSEd Maste    BasedOnStyle:    google
110*10ff414cSEd Maste  - Language:        TextProto
111*10ff414cSEd Maste    Delimiters:
112*10ff414cSEd Maste      - pb
113*10ff414cSEd Maste      - PB
114*10ff414cSEd Maste      - proto
115*10ff414cSEd Maste      - PROTO
116*10ff414cSEd Maste    EnclosingFunctions:
117*10ff414cSEd Maste      - EqualsProto
118*10ff414cSEd Maste      - EquivToProto
119*10ff414cSEd Maste      - PARSE_PARTIAL_TEXT_PROTO
120*10ff414cSEd Maste      - PARSE_TEST_PROTO
121*10ff414cSEd Maste      - PARSE_TEXT_PROTO
122*10ff414cSEd Maste      - ParseTextOrDie
123*10ff414cSEd Maste      - ParseTextProtoOrDie
124*10ff414cSEd Maste    CanonicalDelimiter: ''
125*10ff414cSEd Maste    BasedOnStyle:    google
126*10ff414cSEd MasteReflowComments:  true
127*10ff414cSEd MasteSortIncludes:    true
128*10ff414cSEd MasteSortUsingDeclarations: true
129*10ff414cSEd MasteSpaceAfterCStyleCast: false
130*10ff414cSEd MasteSpaceAfterTemplateKeyword: true
131*10ff414cSEd MasteSpaceBeforeAssignmentOperators: true
132*10ff414cSEd MasteSpaceBeforeCpp11BracedList: false
133*10ff414cSEd MasteSpaceBeforeCtorInitializerColon: true
134*10ff414cSEd MasteSpaceBeforeInheritanceColon: true
135*10ff414cSEd MasteSpaceBeforeParens: ControlStatements
136*10ff414cSEd MasteSpaceBeforeRangeBasedForLoopColon: true
137*10ff414cSEd MasteSpaceInEmptyParentheses: false
138*10ff414cSEd MasteSpacesBeforeTrailingComments: 2
139*10ff414cSEd MasteSpacesInAngles:  false
140*10ff414cSEd MasteSpacesInContainerLiterals: true
141*10ff414cSEd MasteSpacesInCStyleCastParentheses: false
142*10ff414cSEd MasteSpacesInParentheses: false
143*10ff414cSEd MasteSpacesInSquareBrackets: false
144*10ff414cSEd MasteStandard:        Auto
145*10ff414cSEd MasteStatementMacros:
146*10ff414cSEd Maste  - Q_UNUSED
147*10ff414cSEd Maste  - QT_REQUIRE_VERSION
148*10ff414cSEd MasteTabWidth:        8
149*10ff414cSEd MasteUseTab:          Never
150*10ff414cSEd Maste...
151*10ff414cSEd Maste
152