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:
-
If ‘x’ is address taken.
-
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?