summaryrefslogtreecommitdiff
path: root/.clang-format-include
AgeCommit message (Collapse)AuthorFilesLines
2023-10-09i915: Re-clang-format and enforce it in CI.Emma Anholt1-0/+1
I want to be able to mash the format button at any point when hacking on this thing instead of doing bespoke whitespace. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25533>
2023-07-07clang-format: enforce formatting of eglEric Engestrom1-0/+1
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23398>
2023-06-16ci: enforce formatting for RADV & ACOEric Engestrom1-0/+2
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23253>
2023-06-16clang-format: add explanation for anyone reading .clang-format-includeEric Engestrom1-0/+3
Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23253>
2023-05-29meson: enable the clang-format targetEric Engestrom1-0/+2
.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>