Debian Codegraph @

.clang-format

raw
1 # Configuration for clang-format automated reformatting. -*- yaml -*-
2 #
3 # The canonical version of this file is maintained in the rra-c-util package,
4 # which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
5 #
6 # Copyright 2020-2021 Russ Allbery <[email protected]>
7 #
8 # Copying and distribution of this file, with or without modification, are
9 # permitted in any medium without royalty provided the copyright notice
10 # and this notice are preserved. This file is offered as-is, without any
11 # warranty.
12 #
13 # SPDX-License-Identifier: FSFAP
14
15 ---
16 Language: Cpp
17 BasedOnStyle: LLVM
18 AlignConsecutiveMacros: true
19 AlignEscapedNewlines: Left
20 AllowShortEnumsOnASingleLine: false
21 AlwaysBreakAfterReturnType: AllDefinitions
22 BreakBeforeBinaryOperators: NonAssignment
23 BreakBeforeBraces: WebKit
24 ColumnLimit: 79
25 IndentPPDirectives: AfterHash
26 IndentWidth: 4
27 IndentWrappedFunctionNames: false
28 MaxEmptyLinesToKeep: 2
29 SpaceAfterCStyleCast: true
30 ---