[cfe-dev] XML AST dump: Obj-C class, method and informal_protocol missing

Craig Mortensen mortay at apple.com
Thu Oct 1 15:13:16 PDT 2009


Hello,

When using clang-cc to output the AST tree for a given objective-c  
header, an xml file was produced without the objective-c class,  
methods or informal protocol declarations.

How can this information be included?  I'm using the "-x=objective-c"  
option and it does parse the objective-c header OK.

I'm using this command:
/Developer/usr/libexec/clang-cc -ast-print-xml --mcpu=yonah -v  -o / 
tmp/outputCraig.xml -x=objective-c Craig.h

Note: Craig.h is attached to this email.

Thank you,

Craig


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Craig.h
Type: application/octet-stream
Size: 166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091001/52ee467d/attachment.obj>


More information about the cfe-dev mailing list