diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-17 00:05:51 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-03 23:52:23 +0000 |
commit | 8639d8bc212dcb45aff80405b4b0f6b1ef1087e7 (patch) | |
tree | 83073878beb0d27eb2d07721ec0c01751d0f7f19 /Meta/Azure | |
parent | 0d63b7a51552ac85480963d498770d65229b0d13 (diff) | |
download | serenity-8639d8bc212dcb45aff80405b4b0f6b1ef1087e7.zip |
Meta: Switch to clang-format-15 as the standard formatter
The two major changes noticeable on the SerenityOS codebase are:
- Much improved support for const placement, clang-format-14 ignored
our east-const configuration in various places
- Different formatting for requires clauses, now breaking them onto
their own line, which helps with readability a bit
Current versions of CLion also ship LLVM 15, so the built-in formatting
now matches CI formatting again :^)
Diffstat (limited to 'Meta/Azure')
-rw-r--r-- | Meta/Azure/Setup.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Azure/Setup.yml b/Meta/Azure/Setup.yml index 97fc47f662..c24b7eb5ca 100644 --- a/Meta/Azure/Setup.yml +++ b/Meta/Azure/Setup.yml @@ -8,9 +8,9 @@ steps: - ${{ if eq(parameters.os, 'Serenity') }}: - script: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main' + sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main' sudo apt-get update - sudo apt-get install clang-format-14 ccache e2fsprogs gcc-12 g++-12 libstdc++-12-dev libmpfr-dev libmpc-dev ninja-build qemu-utils qemu-system-i386 unzip lld + sudo apt-get install clang-format-15 ccache e2fsprogs gcc-12 g++-12 libstdc++-12-dev libmpfr-dev libmpc-dev ninja-build qemu-utils qemu-system-i386 unzip lld displayName: 'Install Dependencies' - ${{ if eq(parameters.os, 'Linux') }}: |