mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1014384: Fix 'IPDL code generator generates implementation stubs for pure virtual methods'. r=bent
This commit is contained in:
parent
085314c510
commit
19b6310951
@ -217,6 +217,9 @@ class CxxCodeGen(CodePrinter, Visitor):
|
||||
|
||||
|
||||
def visitMethodDefn(self, md):
|
||||
if md.decl.pure:
|
||||
return
|
||||
|
||||
self.printdent()
|
||||
md.decl.accept(self)
|
||||
self.println()
|
||||
|
@ -5460,7 +5460,6 @@ def _splitMethodDefn(md, clsname):
|
||||
md.decl.static = 0
|
||||
md.decl.warn_unused = 0
|
||||
md.decl.never_inline = 0
|
||||
md.decl.pure = 0
|
||||
md.decl.only_for_definition = True
|
||||
for param in md.decl.params:
|
||||
if isinstance(param, Param):
|
||||
|
Loading…
Reference in New Issue
Block a user