[cfe-dev] About Entity

Zhongxing Xu xuzhongxing at gmail.com
Sun Jul 4 19:15:12 PDT 2010


Hi Argiris,

I have an idea to let the Entity reflect the linkage of a name. If a
name has external linkage, we make it an 'external' Entity. If a name
has internal linkage, we make it an 'internal' Entity. If a name has
no linkage, we make it an invalid Entity. What do you think?

On Fri, Jul 2, 2010 at 8:48 PM, Argyrios Kyrtzidis <akyrtzi at gmail.com> wrote:
> I would lean slightly to 'internal' for generality, so that functions that
> handle them can work on both external and local decls, but I don't have a
> strong opinion on this.
> But if the way is to not make them entities at all, then the concept of
> internal entities should be removed.
> -Argiris
>
> On Fri, Jul 2, 2010 at 1:07 PM, Zhongxing Xu <xuzhongxing at gmail.com> wrote:
>>
>> Currently we treat all local VarDecls and struct FieldDecls as
>> external Entity. Shall we create them as internal Entity or make them
>> invalid Entity? I feel that it does not make too much sense to make
>> them Entities. But making them internal Entities seems no harm.
>>
>> - Zhongxing
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>




More information about the cfe-dev mailing list