xref: /freebsd/contrib/pam-krb5/.clang-format (revision bf6873c5786e333d679a7838d28812febf479a8a)
1*bf6873c5SCy Schubert# Configuration for clang-format automated reformatting.  -*- yaml -*-
2*bf6873c5SCy Schubert#
3*bf6873c5SCy Schubert# The canonical version of this file is maintained in the rra-c-util package,
4*bf6873c5SCy Schubert# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
5*bf6873c5SCy Schubert#
6*bf6873c5SCy Schubert# Copyright 2020-2021 Russ Allbery <eagle@eyrie.org>
7*bf6873c5SCy Schubert#
8*bf6873c5SCy Schubert# Copying and distribution of this file, with or without modification, are
9*bf6873c5SCy Schubert# permitted in any medium without royalty provided the copyright notice
10*bf6873c5SCy Schubert# and this notice are preserved.  This file is offered as-is, without any
11*bf6873c5SCy Schubert# warranty.
12*bf6873c5SCy Schubert#
13*bf6873c5SCy Schubert# SPDX-License-Identifier: FSFAP
14*bf6873c5SCy Schubert
15*bf6873c5SCy Schubert---
16*bf6873c5SCy SchubertLanguage: Cpp
17*bf6873c5SCy SchubertBasedOnStyle: LLVM
18*bf6873c5SCy SchubertAlignConsecutiveMacros: true
19*bf6873c5SCy SchubertAlignEscapedNewlines: Left
20*bf6873c5SCy SchubertAllowShortEnumsOnASingleLine: false
21*bf6873c5SCy SchubertAlwaysBreakAfterReturnType: AllDefinitions
22*bf6873c5SCy SchubertBreakBeforeBinaryOperators: NonAssignment
23*bf6873c5SCy SchubertBreakBeforeBraces: WebKit
24*bf6873c5SCy SchubertColumnLimit: 79
25*bf6873c5SCy SchubertIndentPPDirectives: AfterHash
26*bf6873c5SCy SchubertIndentWidth: 4
27*bf6873c5SCy SchubertIndentWrappedFunctionNames: false
28*bf6873c5SCy SchubertMaxEmptyLinesToKeep: 2
29*bf6873c5SCy SchubertSpaceAfterCStyleCast: true
30*bf6873c5SCy Schubert---
31