comparison mupdf-source/thirdparty/harfbuzz/.clang-format @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 # The following tries to match the current code style, is imperfect for now
2 # but good for new codes be added
3
4 IndentWidth: 2
5 TabWidth: 8
6 UseTab: Always
7 SpaceBeforeParens: Always
8 AllowShortLoopsOnASingleLine: true
9 BreakBeforeBraces: Custom
10 BraceWrapping:
11 AfterEnum: true
12 AfterStruct: false
13 SplitEmptyFunction: false
14 AfterClass: true
15 AfterControlStatement: true
16 AfterEnum: false
17 AfterFunction: true
18 AfterNamespace: false
19 AfterStruct: true
20 AfterUnion: true
21 BeforeElse: true
22 AlwaysBreakTemplateDeclarations: true
23 AlignTrailingComments: true
24 AlignEscapedNewlines: Left
25 AllowShortBlocksOnASingleLine: true
26 SpaceAfterCStyleCast: true
27 AlwaysBreakAfterDefinitionReturnType: TopLevel
28 BinPackParameters: false
29 AllowShortFunctionsOnASingleLine: Inline
30 AccessModifierOffset: 0
31 AlignTrailingComments: true
32 AllowShortIfStatementsOnASingleLine: true
33 AlignAfterOpenBracket: Align
34 AlignOperands: true
35 AllowShortCaseLabelsOnASingleLine: true
36
37 # We like to have this only for function parameters and structs fields, not always
38 # AlignConsecutiveDeclarations: true