patch @class in -ast-print

Just a little patch to implements the "fixme" for @class declarations in -ast-print.

Just a question.
ObjCInterfaceDecl and ObjCForwardProtocolDecl are very similar, so why the way to access referenced declarations are not the same for both classes ?
ObjCInterfaceDecl has a getForwardDecls() that returns a pointer to an array and ObjCForwardProtocolDecl has a getForwardProtocolDecl(unsigned) that returns declaration at specified index.

classdecl.diff (964 Bytes)

Just a little patch to implements the "fixme" for @class declarations in -ast-print.

Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080616/006208.html

Just a question.
ObjCInterfaceDecl and ObjCForwardProtocolDecl are very similar, so why the way to access referenced declarations are not the same for both classes ?
ObjCInterfaceDecl has a getForwardDecls() that returns a pointer to an array and ObjCForwardProtocolDecl has a getForwardProtocolDecl(unsigned) that returns declaration at specified index.

Not sure about this one,

-Chris