mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1169382 - Don't generate commented out NS_INTERFACE_CLASS or NS_ABSTRACT_CLASS in IPDL. r=billm
This commit is contained in:
parent
54466ce0a4
commit
470cef59ea
@ -147,7 +147,7 @@ public:
|
||||
};
|
||||
|
||||
template<class ListenerT>
|
||||
class /*NS_INTERFACE_CLASS*/ IProtocolManager
|
||||
class IProtocolManager
|
||||
{
|
||||
public:
|
||||
enum ActorDestroyReason {
|
||||
|
@ -125,17 +125,11 @@ class CxxCodeGen(CodePrinter, Visitor):
|
||||
def visitClass(self, c):
|
||||
if c.specializes is not None:
|
||||
self.printdentln('template<>')
|
||||
|
||||
|
||||
if c.struct:
|
||||
self.printdent('struct')
|
||||
else:
|
||||
self.printdent('class')
|
||||
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(' final')
|
||||
|
Loading…
Reference in New Issue
Block a user