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 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 AlwaysBreakAfterReturnType: AllDefinitions
21 BreakBeforeBinaryOperators: NonAssignment
22 BreakBeforeBraces: WebKit
23 ColumnLimit: 79
24 IndentPPDirectives: AfterHash
25 IndentWidth: 4
26 IndentWrappedFunctionNames: false
27 MaxEmptyLinesToKeep: 2
28 SpaceAfterCStyleCast: true
29 ---