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 370882 38470e52b9d3beb7f648d8726d0c731684ddb75c
parent 370881 8fcd8f50264be9c64aa85ac39097808f5bd59b30
child 370883 918e37b44bddf0ab04f59887a1bb753aa586b3d9
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1322321
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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