Bug 1547143 - Force the pointer style declaration r=Ehsan
authorSylvestre Ledru <sledru@mozilla.com>
Wed, 01 May 2019 08:46:08 +0000
changeset 530872 25e1607e6f1e5345cccb8eb501b7cbdad182f9fb
parent 530871 0e259884f052230b24601efc3cde3a5ef5d4e6ad
child 530873 e1993a1f09ac53cd1a04fdf6a87f8cad8e44f73e
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan
bugs1547143
milestone68.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 1547143 - Force the pointer style declaration r=Ehsan Differential Revision: https://phabricator.services.mozilla.com/D28954
.clang-format
--- a/.clang-format
+++ b/.clang-format
@@ -22,8 +22,15 @@ NS_INTERFACE_MAP_END_.*|\
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END_INHERITED|\
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED|\
 NS_QUERYFRAME_TAIL.*$"
 
 SortIncludes: false
 IndentPPDirectives: AfterHash
 StatementMacros: [MARKUPMAP, ASSERT_TRUE, ASSERT_FALSE, TEST, CHECK]
 
+# The Google coding style states:
+# You should do this consistently within a single file, so, when modifying an
+# existing file, use the style in that file.
+# Let's be more prescriptive and default to the one used in the Mozilla
+# coding style
+DerivePointerAlignment: false
+PointerAlignment: Left