1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 22:57:35 +00:00

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 :^)
This commit is contained in:
Linus Groh 2022-10-17 00:05:51 +02:00
parent 0d63b7a515
commit 8639d8bc21
7 changed files with 22 additions and 20 deletions

View file

@ -12,3 +12,5 @@ BraceWrapping:
AfterFunction: true
NamespaceIndentation: None
QualifierAlignment: Right
RequiresClausePosition: WithFollowing
IndentRequiresClause: false