xref: /aosp_15_r20/external/minigbm/cros_gralloc/gralloc4/.clang-format (revision d95af8df99a05bcb8679a54dc3ab8e5cd312b38e)
1# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4#
5# This directory is formatted to match the format of the interfaces implemented.
6
7BasedOnStyle: Google
8Standard: Cpp11
9AccessModifierOffset: -2
10AllowShortFunctionsOnASingleLine: Inline
11ColumnLimit: 100
12CommentPragmas: NOLINT:.*
13DerivePointerAlignment: false
14IncludeBlocks: Preserve
15IndentWidth: 4
16ContinuationIndentWidth: 8
17PointerAlignment: Left
18TabWidth: 4
19UseTab: Never