mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 07:57:47 +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:
parent
1e733b1cf4
commit
388d455575
12 changed files with 31 additions and 26 deletions
|
@ -1,7 +1,9 @@
|
|||
---
|
||||
Language: Cpp
|
||||
AlignEscapedNewlines: Left
|
||||
AlignTrailingComments: true
|
||||
AlignTrailingComments:
|
||||
Kind: Always
|
||||
OverEmptyLines: 0
|
||||
BasedOnStyle: WebKit
|
||||
BraceWrapping:
|
||||
AfterFunction: true
|
||||
|
@ -10,7 +12,10 @@ BreakBeforeInheritanceComma: true
|
|||
BreakConstructorInitializers: BeforeComma
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentRequiresClause: false
|
||||
InsertNewlineAtEOF: true
|
||||
LineEnding: LF
|
||||
NamespaceIndentation: None
|
||||
QualifierAlignment: Right
|
||||
RequiresClausePosition: WithFollowing
|
||||
RequiresExpressionIndentation: OuterScope
|
||||
SpaceAfterTemplateKeyword: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue