Bug 1508818, part 1 - Add some missing things to the clang-format macro list. r=Ehsan
authorAndrew McCreight <continuation@gmail.com>
Wed, 28 Nov 2018 07:38:12 +0000
changeset 448534 1da65c8d52d341780a82fbfacc03a6e7c27d421e
parent 448533 f3417713c0534a4d8aaf9bd265d58f81f4c85e25
child 448535 5992e36db33e3a7cd79de87fea30dfede2a5a1ef
push id110223
push userccoroiu@mozilla.com
push dateWed, 28 Nov 2018 22:35:19 +0000
treeherdermozilla-inbound@237e92ff9ceb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersEhsan
bugs1508818
milestone65.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 1508818, part 1 - Add some missing things to the clang-format macro list. r=Ehsan Differential Revision: https://phabricator.services.mozilla.com/D13182
.clang-format
--- a/.clang-format
+++ b/.clang-format
@@ -11,13 +11,14 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION
 NS_INTERFACE_TABLE_BEGIN|\
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED|\
 NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED$"
 MacroBlockEnd: "^\
 JS_END_MACRO|\
 NS_INTERFACE_MAP_END|\
 NS_IMPL_CYCLE_COLLECTION_.*_END|\
 NS_INTERFACE_TABLE_END|\
-NS_INTERFACE_MAP_END_INHERITING|\
+NS_INTERFACE_TABLE_TAIL.*|\
+NS_INTERFACE_MAP_END_.*|\
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END_INHERITED|\
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END_INHERITED$"
 
 SortIncludes: false