mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
gfxstream: add clang-format
Version of clang from the gfxstream repo. Acked-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31548>
This commit is contained in:
parent
b31a4037de
commit
5b82c130d9
1 changed files with 15 additions and 0 deletions
15
src/gfxstream/.clang-format
Normal file
15
src/gfxstream/.clang-format
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright © 2024 Google
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
BasedOnStyle: Google
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 100
|
||||
IncludeCategories:
|
||||
- Regex: '^(<(gtest|gmock))'
|
||||
Priority: -1
|
||||
FixNamespaceComments: true
|
||||
PointerAlignment: Left
|
||||
DerivePointerAlignment: false
|
||||
|
||||
# Ensure proper formatting of macros such as GOLDFISH_VK_LIST_DISPATCHABLE_HANDLE_TYPES
|
||||
StatementMacros: ["f"]
|
||||
Loading…
Add table
Reference in a new issue