From 35d8db96ed2f714d8164d1b048f75da2a77fe558 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 1 Jun 2023 14:54:56 +0100 Subject: [PATCH] egl: change a couple of clang-format settings This code was written with 80-char lines in mind; changing that to 100 with the common .clang-format unnecessarily reflows a lot of code that looks fine like this. `AlwaysBreakAfterReturnType: All` might be something that we want everywhere, but for now only set it here, to match existing code. Signed-off-by: Eric Engestrom Reviewed-by: Adam Jackson Part-of: --- src/egl/.clang-format | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/egl/.clang-format diff --git a/src/egl/.clang-format b/src/egl/.clang-format new file mode 100644 index 00000000000..8beedb5fb85 --- /dev/null +++ b/src/egl/.clang-format @@ -0,0 +1,4 @@ +BasedOnStyle: InheritParentConfig + +ColumnLimit: 80 +AlwaysBreakAfterReturnType: All