зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1169382 - Don't generate commented out NS_INTERFACE_CLASS or NS_ABSTRACT_CLASS in IPDL. r=billm
This commit is contained in:
Родитель
54466ce0a4
Коммит
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')
|
||||
|
|
Загрузка…
Ссылка в новой задаче