[cfe-dev] patch @class in -ast-print

Jean-Daniel Dupas devlists at shadowlab.org
Sat Jun 21 14:31:40 PDT 2008


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: classdecl.diff
Type: application/octet-stream
Size: 964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080621/a1a3c735/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080621/a1a3c735/attachment.bin>


More information about the cfe-dev mailing list