[cfe-dev] @defs() question

David Chisnall csdavec at swansea.ac.uk
Mon May 5 10:05:18 PDT 2008


Aside from one outstanding bug with the premature insertion of  
implicit types, the last remaining thing I need to get clang compiling  
real Objective-C programs is support for the @defs() declaration.   
This is used like this:

struct {

It ought to find the ObjCInterfaceDecl and insert a FieldDecl for  
every ObjCIvarDecl in this interface and any superclasses.  I've had a  
little look at the parser code, but can't quite work out where this  
should go.  Can anyone give me a hint?


More information about the cfe-dev mailing list