Bug 1145631 - Part 4: Replace MOZ_FINAL with final in the IPDL codegen; r=froydnj
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 21 Mar 2015 12:28:36 -0400
changeset 265236 bd5245b8886da9919738b43a5ad02b38b4188e3c
parent 265235 745287406d9e1a3e3e884a924260782ed53ed143
child 265237 79371ae69603cf77e169eb8d1b375b1554dfe6cb
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1145631
milestone39.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 1145631 - Part 4: Replace MOZ_FINAL with final in the IPDL codegen; r=froydnj
ipc/ipdl/ipdl/cxx/cgen.py
--- a/ipc/ipdl/ipdl/cxx/cgen.py
+++ b/ipc/ipdl/ipdl/cxx/cgen.py
@@ -133,17 +133,17 @@ class CxxCodeGen(CodePrinter, Visitor):
         if c.interface:
             # FIXME/cjones: turn this "on" when we get the analysis
             self.write(' /*NS_INTERFACE_CLASS*/')
         if c.abstract:
             # FIXME/cjones: turn this "on" when we get the analysis
             self.write(' /*NS_ABSTRACT_CLASS*/')
         self.write(' '+ c.name)
         if c.final:
-            self.write(' MOZ_FINAL')
+            self.write(' final')
 
         if c.specializes is not None:
             self.write(' <')
             c.specializes.accept(self)
             self.write('>')
 
         ninh = len(c.inherits)
         if 0 < ninh: