mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Meta: Support using clang-format on Objective-C++ files
We can (and have to) remove the C++ language identifier from the main set of rules. This will allow these rule to propagate to all languages.
This commit is contained in:
parent
43da0701fc
commit
66a89bd695
Notes:
sideshowbarker
2024-07-16 22:51:10 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/66a89bd695 Pull-request: https://github.com/SerenityOS/serenity/pull/20692 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
Language: Cpp
|
||||
AlignEscapedNewlines: Left
|
||||
AlignTrailingComments:
|
||||
Kind: Always
|
||||
|
@ -20,3 +19,16 @@ RemoveSemicolon: true
|
|||
RequiresClausePosition: WithFollowing
|
||||
RequiresExpressionIndentation: OuterScope
|
||||
SpaceAfterTemplateKeyword: false
|
||||
|
||||
---
|
||||
Language: ObjC
|
||||
BinPackParameters: false
|
||||
BraceWrapping:
|
||||
AfterObjCDeclaration: true
|
||||
ObjCBinPackProtocolList: Never
|
||||
ObjCBlockIndentWidth: 4
|
||||
ObjCBreakBeforeNestedBlockParam: true
|
||||
ObjCSpaceAfterProperty: true
|
||||
ObjCSpaceBeforeProtocolList: true
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue