summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEric Engestrom <eric@igalia.com>2023-05-26 18:21:38 +0100
committerMarge Bot <emma+marge@anholt.net>2023-05-29 11:57:08 +0000
commit2f78ec7d379d1a229c0deb341f05381210387930 (patch)
tree3d21f8d9de4a8b02fc93da0ee1254b3b0525bc50 /.clang-format
parent059ee4ff8d875b545401aa68526e715be46cf293 (diff)
downloadmesa-2f78ec7d379d1a229c0deb341f05381210387930.tar.gz
mesa-2f78ec7d379d1a229c0deb341f05381210387930.tar.bz2
mesa-2f78ec7d379d1a229c0deb341f05381210387930.zip
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 <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23269>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format0
1 files changed, 0 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/.clang-format