[cfe-dev] Entity of static functions
Zhongxing Xu
xuzhongxing at gmail.com
Mon Jul 20 19:16:10 PDT 2009
On Tue, Jul 21, 2009 at 10:14 AM, Argyrios Kyrtzidis<kyrtzidis at apple.com> wrote:
>
> 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
>
>
>
Great! Thanks for the quick response.
More information about the cfe-dev
mailing list