Bug 1045041 - Mark non-explicit classes created by IPDL to be MOZ_IMPLICIT; r=froydnj

This commit is contained in:
Ehsan Akhgari 2014-07-28 10:57:17 -04:00
parent 260cd0b990
commit 1266d7384c

View File

@ -234,6 +234,8 @@ class CxxCodeGen(CodePrinter, Visitor):
def visitConstructorDecl(self, cd):
if cd.explicit:
self.write('explicit ')
else:
self.write('MOZ_IMPLICIT ')
self.visitMethodDecl(cd)
def visitConstructorDefn(self, cd):