Bug 1322321 - Update the clang format file to match more our coding style r=ehsan
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 06 Dec 2016 17:43:17 -1000
changeset 449685 38470e52b9d3beb7f648d8726d0c731684ddb75c
parent 449684 8fcd8f50264be9c64aa85ac39097808f5bd59b30
child 449686 918e37b44bddf0ab04f59887a1bb753aa586b3d9
child 452419 0c0270cf5d22cedc2d4b676c5e52514e1ddacf8f
child 455902 1b176e05f5366d1b6300b58582bb92adb9cd5068
push id38624
push usermozilla@kaply.com
push dateWed, 14 Dec 2016 19:19:00 +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