xref: /aosp_15_r20/external/fsverity-utils/.clang-format (revision b13c0e4024008a1f948ee8189745cb3371f4ac04)
1*b13c0e40SEric Biggers# SPDX-License-Identifier: MIT
2*b13c0e40SEric Biggers# Copyright 2020 Google LLC
3*b13c0e40SEric Biggers#
4*b13c0e40SEric Biggers# Use of this source code is governed by an MIT-style
5*b13c0e40SEric Biggers# license that can be found in the LICENSE file or at
6*b13c0e40SEric Biggers# https://opensource.org/licenses/MIT.
7*b13c0e40SEric Biggers
8*b13c0e40SEric Biggers# Formatting settings to approximate the Linux kernel coding style.
9*b13c0e40SEric BiggersBasedOnStyle: LLVM
10*b13c0e40SEric BiggersAllowShortFunctionsOnASingleLine: false
11*b13c0e40SEric BiggersAllowShortIfStatementsOnASingleLine: false
12*b13c0e40SEric BiggersBreakBeforeBraces: Linux
13*b13c0e40SEric BiggersCpp11BracedListStyle: false
14*b13c0e40SEric BiggersIncludeBlocks: Preserve
15*b13c0e40SEric BiggersIndentCaseLabels: false
16*b13c0e40SEric BiggersIndentWidth: 8
17*b13c0e40SEric BiggersUseTab: Always
18