>> If so, this is close to  the right patch I think:
>
> Yes. As you pointed out, 'length' of array type is the problem. This  
> is not a feature that I have seen used in objective-c. But  
> nevertheless....
> Either length of array should be ASTized or the entire macro should  
> be represented by an 'AST'. This of course has consequences in type  
> matching, sizeof, etc. down the road. I will look at this later on.

It's not a macro, it's a 'predefined identifier' :).  It already is  
represented explicitly in the AST, but we need to know it's type for  
the AST node.  Thanks Fariborz,

-Chris
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to