[cfe-dev] patch @class in -ast-print
clattner at apple.com
Sat Jun 21 14:40:48 PDT 2008
On Jun 21, 2008, at 2:31 PM, Jean-Daniel Dupas wrote:
> 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.
Not sure about this one,
More information about the cfe-dev