Bug 1322321 - Update the clang format file to match more our coding style r?ehsan draft
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 06 Dec 2016 17:43:17 -1000
changeset 447675 a220e4a1161f6188356cb5fec1098258c2a49fb8
parent 447174 919596f62a27dbc3275aea5e04572a9ab026c1da
child 539082 232011a140a5e6c9c44eababf6e78aa0f945dbea
push id38117
push usersledru@mozilla.com
push dateWed, 07 Dec 2016 03:44:52 +0000
reviewersehsan
bugs1322321
milestone53.0a1
Bug 1322321 - Update the clang format file to match more our coding style r?ehsan MozReview-Commit-ID: AU7HlaOFQm4
.clang-format
--- a/.clang-format
+++ b/.clang-format
@@ -23,8 +23,16 @@ NS_INTERFACE_MAP_END|\
 NS_IMPL_CYCLE_COLLECTION_.*_END|\
 NS_INTERFACE_TABLE_END|\
 NS_INTERFACE_MAP_END_INHERITING|\
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END_INHERITED|\
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED$"
 
 SortIncludes: false
 
+
+# All of the following items are default
+# in the Mozila coding style from clang format 4.0
+AlwaysBreakAfterReturnType: TopLevel
+BinPackArguments: false
+BinPackParameters: false
+SpaceAfterTemplateKeyword: false
+ReflowComments: false