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 /Documentation | |
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 'Documentation')
-rw-r--r-- | Documentation/SelfHostedRunners.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/SelfHostedRunners.md b/Documentation/SelfHostedRunners.md index fb99c251c4..d8ed616824 100644 --- a/Documentation/SelfHostedRunners.md +++ b/Documentation/SelfHostedRunners.md @@ -20,9 +20,9 @@ These instructions assume the OS installed is Ubuntu 22.04 (Jammy), so they migh ```shell sudo add-apt-repository ppa:canonical-server/server-backports 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-focal-14 main' +sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main' apt update -apt install git build-essential make cmake clang-format-14 gcc-12 g++-12 libstdc++-12-dev libgmp-dev ccache libmpfr-dev libmpc-dev ninja-build e2fsprogs qemu-utils qemu-system-i386 wabt +apt install git build-essential make cmake clang-format-15 gcc-12 g++-12 libstdc++-12-dev libgmp-dev ccache libmpfr-dev libmpc-dev ninja-build e2fsprogs qemu-utils qemu-system-i386 wabt ``` ### Force usage of GCC 12 ```shell |