<div dir="ltr">Thanks, that clarifies things a bit.<br><br><div class="gmail_quote">On Mon, Nov 15, 2010 at 7:48 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Nov 15, 2010, at 7:04 AM, Tzafrir Rehan wrote:<br>
<br>
> Hi all,<br>
><br>
> Can anyone please point me at some code that uses the Sema interface?<br>
<br>
</div>Hi Tzafrir,<br>
<br>
Sema is really a private interface used by the Parser to construct the AST.    You probably don't want to interact with it directly.<br>
<div class="im"><br>
> What I'd like to achieve at this point is a printout of all integer variables in the code and all mutations performed on them.<br>
<br>
</div>The best way to walk the AST is to write an ASTConsumer.  With it, you can walk the AST and find all the integer variables etc.<br>
<font color="#888888"><br>
-Chris<br>
<br>
</font></blockquote></div><br></div>