mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
388d455575
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.
21 lines
533 B
YAML
21 lines
533 B
YAML
---
|
|
Language: Cpp
|
|
AlignEscapedNewlines: Left
|
|
AlignTrailingComments:
|
|
Kind: Always
|
|
OverEmptyLines: 0
|
|
BasedOnStyle: WebKit
|
|
BraceWrapping:
|
|
AfterFunction: true
|
|
BreakBeforeBraces: Custom
|
|
BreakBeforeInheritanceComma: true
|
|
BreakConstructorInitializers: BeforeComma
|
|
IndentPPDirectives: AfterHash
|
|
IndentRequiresClause: false
|
|
InsertNewlineAtEOF: true
|
|
LineEnding: LF
|
|
NamespaceIndentation: None
|
|
QualifierAlignment: Right
|
|
RequiresClausePosition: WithFollowing
|
|
RequiresExpressionIndentation: OuterScope
|
|
SpaceAfterTemplateKeyword: false
|