Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/harfbuzz/.clang-format @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 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 |
