[cfe-dev] Decls are not synonyms for the symbols they represent

Zhongxing Xu xuzhongxing at gmail.com
Tue Sep 16 23:35:24 PDT 2008


I think this is another useful concept separation as in TypeSpecifier and
Type.

A specific client that can benefit from this separation is the static
analysis tool. We can have an entity that represents the variable instead of
using one of the (perhaps redundant) declarations.


2008/9/17 Ted Kremenek <kremenek at apple.com>

> A few weeks ago I had a conversation with Daniel about the fact that the
> ASTs (or other clang data structures) have no notion of the "entity" (for
> lack of a better word) that a declaration represents.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080917/9e36b2b4/attachment.html>


More information about the cfe-dev mailing list