Title: [284543] trunk
Revision
284543
Author
commit-qu...@webkit.org
Date
2021-10-20 10:18:12 -0700 (Wed, 20 Oct 2021)

Log Message

Add ObjC as supported .clang-format language
https://bugs.webkit.org/show_bug.cgi?id=230401

Patch by Kimmo Kinnunen <kkinnu...@apple.com> on 2021-10-20
Reviewed by Jonathan Bedard.

Add ObjC and change few properties useful
for ObjC formatting.

* .clang-format:

Modified Paths

Diff

Modified: trunk/.clang-format (284542 => 284543)


--- trunk/.clang-format	2021-10-20 17:14:10 UTC (rev 284542)
+++ trunk/.clang-format	2021-10-20 17:18:12 UTC (rev 284543)
@@ -1,5 +1,4 @@
 ---
-Language:        Cpp
 # BasedOnStyle:  WebKit
 AccessModifierOffset: -4
 AlignAfterOpenBracket: DontAlign
@@ -62,10 +61,14 @@
   - Regex:           '^"config\.h"'
     Priority:        -1
   # The main header for a source file automatically gets category 0
+  - Regex:           '^<.*SoftLink.h>'
+    Priority:        4
+  - Regex:           '^".*SoftLink.h"'
+    Priority:        3
+  - Regex:           '^<.*>'
+    Priority:        2
   - Regex:           '.*'
     Priority:        1
-  - Regex:           '^<.*\.h>'
-    Priority:        2
 IncludeIsMainRegex: '(Test)?$'
 IndentCaseLabels: false
 IndentWidth:     4
@@ -106,5 +109,7 @@
 Standard:        Cpp11
 TabWidth:        8
 UseTab:          Never
+---
+Language: ObjC
+PointerAlignment: Right
 ...
-

Modified: trunk/ChangeLog (284542 => 284543)


--- trunk/ChangeLog	2021-10-20 17:14:10 UTC (rev 284542)
+++ trunk/ChangeLog	2021-10-20 17:18:12 UTC (rev 284543)
@@ -1,3 +1,15 @@
+2021-10-20  Kimmo Kinnunen  <kkinnu...@apple.com>
+
+        Add ObjC as supported .clang-format language
+        https://bugs.webkit.org/show_bug.cgi?id=230401
+
+        Reviewed by Jonathan Bedard.
+
+        Add ObjC and change few properties useful
+        for ObjC formatting.
+
+        * .clang-format:
+
 2021-10-20  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [WPE] Reenable -fvisibility=hidden and -fvisibility-inlines-hidden
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to