
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 :^)
16 lines
417 B
YAML
16 lines
417 B
YAML
---
|
|
Language: Cpp
|
|
BasedOnStyle: WebKit
|
|
SpaceAfterTemplateKeyword: false
|
|
AlignEscapedNewlines: Left
|
|
AlignTrailingComments: true
|
|
BreakBeforeInheritanceComma: true
|
|
BreakConstructorInitializers: BeforeComma
|
|
IndentPPDirectives: AfterHash
|
|
BreakBeforeBraces: Custom
|
|
BraceWrapping:
|
|
AfterFunction: true
|
|
NamespaceIndentation: None
|
|
QualifierAlignment: Right
|
|
RequiresClausePosition: WithFollowing
|
|
IndentRequiresClause: false
|