1 # Configuration for clang-format automated reformatting. -*- yaml -*-
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/>.
6 # Copyright 2020 Russ Allbery <eagle@eyrie.org>
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
13 # SPDX-License-Identifier: FSFAP
18 AlignConsecutiveMacros: true
19 AlignEscapedNewlines: Left
20 AlwaysBreakAfterReturnType: AllDefinitions
21 BreakBeforeBinaryOperators: NonAssignment
22 BreakBeforeBraces: WebKit
24 IndentPPDirectives: AfterHash
26 IndentWrappedFunctionNames: false
27 MaxEmptyLinesToKeep: 2
28 SpaceAfterCStyleCast: true