[cfe-dev] About Entity
xuzhongxing at gmail.com
Sun Jul 4 19:15:12 PDT 2010
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.
> 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
More information about the cfe-dev