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 /.clang-format | |
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 '.clang-format')
-rw-r--r-- | .clang-format | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index 61e0467fa6..9b7a6b629d 100644 --- a/.clang-format +++ b/.clang-format @@ -12,3 +12,5 @@ BraceWrapping: AfterFunction: true NamespaceIndentation: None QualifierAlignment: Right +RequiresClausePosition: WithFollowing +IndentRequiresClause: false |