[cfe-dev] Address taken variables and assignment counts

Meador Inge via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 29 11:15:44 PST 2016


Hi All,

I am working with some code that involves walking the Clang AST
and have some questions.  For a particular variable, say 'x', is there
a straight forward (in the sense that there is already code somewhere
in Clang to do it) way to determine:

  1. If 'x' is address taken.

  2. If 'x' has been assigned multiple times.

?

Or do I have to figure those things out in the AST walking code that
I am writing?

-- 
# Meador
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160129/2ab1461e/attachment.html>


More information about the cfe-dev mailing list