Bug 1547143 - Force the pointer style declaration r?ehsan draft
authorpulselistener
Wed, 01 May 2019 08:35:12 +0000
changeset 1974856 c158094efbdc7574ba432adee2c4d7cfc15f01a6
parent 1974855 f83784bbebd058f00ffd451d4917972a75e65aba
child 1974857 881671febff594b59e8243ba25494f68575278a6
push id355003
push userreviewbot
push dateWed, 01 May 2019 08:35:38 +0000
treeherdertry@881671febff5 [default view] [failures only]
reviewersehsan
bugs1547143
milestone68.0a1
Bug 1547143 - Force the pointer style declaration r?ehsan Differential Revision: https://phabricator.services.mozilla.com//D28954 Depends on D28953 Differential Diff: PHID-DIFF-kp4mnugrgwvuiuigc6po
.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