This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch dev-1-0-9
in repository https://gitbox.apache.org/repos/asf/trafficserver-libswoc.git

commit 36b66e5cd504e009cfb5e80d5670f9b50a09329e
Author: Alan M. Carroll <[email protected]>
AuthorDate: Sun Nov 10 15:14:04 2019 -0600

    Update clang format config.
---
 .clang-format | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/.clang-format b/.clang-format
index 7c2364a..7f2631c 100644
--- a/.clang-format
+++ b/.clang-format
@@ -13,8 +13,8 @@ AllowShortCaseLabelsOnASingleLine: false
 AllowShortFunctionsOnASingleLine: Inline
 AllowShortIfStatementsOnASingleLine: false
 AllowShortLoopsOnASingleLine: false
-AlwaysBreakAfterDefinitionReturnType: All
-AlwaysBreakAfterReturnType: AllDefinitions
+#AlwaysBreakAfterDefinitionReturnType: None
+AlwaysBreakAfterReturnType: None
 AlwaysBreakBeforeMultilineStrings: false
 AlwaysBreakTemplateDeclarations: false
 BinPackArguments: true
@@ -23,7 +23,7 @@ BraceWrapping:
   AfterClass:      true
   AfterControlStatement: true
   AfterEnum:       true
-  AfterFunction:   true
+  AfterFunction:   false
   AfterNamespace:  true
   AfterObjCDeclaration: false
   AfterStruct:     true
@@ -92,10 +92,10 @@ PenaltyBreakString: 1000
 PenaltyExcessCharacter: 1000000
 PenaltyReturnTypeOnItsOwnLine: 200
 PointerAlignment: Right
-RawStringFormats: 
-  - Delimiter:       pb
-    Language:        TextProto
-    BasedOnStyle:    Mozilla
+#RawStringFormats: 
+#  - Delimiter:       'pb'
+#    Language:        TextProto
+#    BasedOnStyle:    Mozilla
 ReflowComments:  true
 SortIncludes:    false
 SortUsingDeclarations: false

Reply via email to