1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Meta: Switch to clang-format-16 as the standard formatter

This includes a few new options to the .clang-format configuration file
to A) adhere to option changes within clang-format 16 (namely the option
AlignTrailingComments), and B) enforce existing style guide rules with
new clang-format rules.
This commit is contained in:
Timothy Flynn 2023-07-07 20:21:41 -04:00 committed by Linus Groh
parent 1e733b1cf4
commit 388d455575
12 changed files with 31 additions and 26 deletions

View file

@ -7,7 +7,7 @@
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/pre-commit:1": {},
"./features/serenity": {
"llvm_version": 15,
"llvm_version": 16,
"enable_ladybird": true,
"enable_serenity": true
},

View file

@ -7,11 +7,11 @@
"llvm_version": {
"type": "string",
"proposals": [
14,
15,
16,
"trunk"
],
"default": 15,
"default": 16,
"description": "Select LLVM compiler version to use"
},
"enable_ladybird": {

View file

@ -3,7 +3,7 @@ set -e
# Feature options
LLVM_VERSION=${LLVM_VERSION:-15}
LLVM_VERSION=${LLVM_VERSION:-16}
ENABLE_LADYBIRD=${ENABLE_LADYBIRD:-true}
ENABLE_SERENITY=${ENABLE_SERENITY:-true}