clang-format: Change SpaceAfterTemplateKeyword to false
authorHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2022 20:59:30 +0000 (20:59 +0000)
committerHironori.Fujii@sony.com <Hironori.Fujii@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jan 2022 20:59:30 +0000 (20:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=234655

Reviewed by Don Olmstead.

Bug 183302 added the initial .clang-format file which were
including SpaceAfterTemplateKeyword:true. However, even though it
is undocumented, typical WebKit code is using a style having no
space ater the `template` keyword.

* .clang-format:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287581 268f45cc-cd09-0410-ab3c-d52691b4dbfc

.clang-format
ChangeLog

index 2dc3b36dbb6f6fb9db227e4da1d3c04993f15103..0e7c0d5a13e663ccd75e58d0d38eb34f5104e35e 100644 (file)
@@ -95,7 +95,7 @@ ReflowComments:  true
 SortIncludes:    true
 SortUsingDeclarations: true
 SpaceAfterCStyleCast: false
 SortIncludes:    true
 SortUsingDeclarations: true
 SpaceAfterCStyleCast: false
-SpaceAfterTemplateKeyword: true
+SpaceAfterTemplateKeyword: false
 SpaceBeforeAssignmentOperators: true
 SpaceBeforeCpp11BracedList: true
 SpaceBeforeParens: ControlStatements
 SpaceBeforeAssignmentOperators: true
 SpaceBeforeCpp11BracedList: true
 SpaceBeforeParens: ControlStatements
index 59f066a3554e03c582991e47f77f087c13bae5d6..04f8d9bc32d3e3345e9aa8e093b8ade7e4f341ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2022-01-04  Fujii Hironori  <Hironori.Fujii@sony.com>
+
+        clang-format: Change SpaceAfterTemplateKeyword to false
+        https://bugs.webkit.org/show_bug.cgi?id=234655
+
+        Reviewed by Don Olmstead.
+
+        Bug 183302 added the initial .clang-format file which were
+        including SpaceAfterTemplateKeyword:true. However, even though it
+        is undocumented, typical WebKit code is using a style having no
+        space ater the `template` keyword.
+
+        * .clang-format:
+
 2022-01-01  Jeff Miller  <jeffm@apple.com>
 
         Update user-visible copyright strings to include 2022
 2022-01-01  Jeff Miller  <jeffm@apple.com>
 
         Update user-visible copyright strings to include 2022