[cfe-dev] Entity of static functions

Argyrios Kyrtzidis kyrtzidis at apple.com
Mon Jul 20 19:14:30 PDT 2009


On Jul 20, 2009, at 7:06 PM, Zhongxing Xu wrote:

>>
>> I think a better way is for Entity to be just a wrapper to a  
>> PointerUnion
>> (either pointer to "not crossing" Decl or pointer to an internal  
>> Entity
>> implementation).
>> That way comparing Entities is correct also for Decls that don't  
>> cross
>> translation units.
>>
>> Does it make sense ?
>
> Yeah, that's a good solution.

This is commited, and static functions get Entities now.

Thanks for the feedback Zhongxing!

-Argiris



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090720/5944ec27/attachment.html>


More information about the cfe-dev mailing list