xref: /freebsd/contrib/pam-krb5/.clang-format (revision bf6873c5786e333d679a7838d28812febf479a8a)
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 <eagle@eyrie.org>
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---
16Language: Cpp
17BasedOnStyle: LLVM
18AlignConsecutiveMacros: true
19AlignEscapedNewlines: Left
20AllowShortEnumsOnASingleLine: false
21AlwaysBreakAfterReturnType: AllDefinitions
22BreakBeforeBinaryOperators: NonAssignment
23BreakBeforeBraces: WebKit
24ColumnLimit: 79
25IndentPPDirectives: AfterHash
26IndentWidth: 4
27IndentWrappedFunctionNames: false
28MaxEmptyLinesToKeep: 2
29SpaceAfterCStyleCast: true
30---
31