Skip to content

Commit 2f78ec7

Browse files
1aceMarge Bot
authored and
Marge Bot
committed
meson: enable the clang-format target
.clang-format needs to exist in the root of the project for the target to be generated, but since we don't have a global config it's a dummy, empty file. .clang-format-include lists the files (files! not folders) that are to be formatted. .clang-format-ignore lists the files to exclude, even if they are in the include list above. Useful for vendored code for instance. See https://mesonbuild.com/Code-formatting.html Signed-off-by: Eric Engestrom <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23269>
1 parent 059ee4f commit 2f78ec7

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

.clang-format

Whitespace-only changes.

.clang-format-ignore

Whitespace-only changes.

.clang-format-include

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
src/**/asahi/**/*
2+
src/**/panfrost/**/*

0 commit comments

Comments
 (0)