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 449575 747553791df9f9e04a5fc4c89fb737442bc6cbd4
parent 447174 919596f62a27dbc3275aea5e04572a9ab026c1da
child 539530 358f3d4493a1cb52734d96304529248423f649cd
push id38612
push userbmo:sledru@mozilla.com
push dateWed, 14 Dec 2016 15:53:38 +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