Hi Eli,<br>Thanks a lot for the reply. I am trying to write a small source to source translation application. Basically I want to change all invocations of a function say foo to now take a extra parameter which I want to pass and was investigating the utility of CLANG.<br>

<br>Thanks.<br>Vivek.<br><br><div class="gmail_quote">On Sat, Apr 2, 2011 at 2:22 AM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5">On Fri, Apr 1, 2011 at 2:30 AM, Vivek Kulkarni <<a href="mailto:viveksck@gmail.com">viveksck@gmail.com</a>> wrote:<br>
><br>
><br>
>> Hi All,<br>
>> I am trying to get clang working for parsing AS and trying this Tutorial<br>
>> here.<a href="http://amnoid.de/tmp/clangtut/tut.html" target="_blank">http://amnoid.de/tmp/clangtut/tut.html</a><br>
>><br>
>> IdentifierTable tab(context.opts);<br>
>><br>
>> MinimalAction action(tab);<br>
>> Parser p(context.pp, action);<br>
>> p.ParseTranslationUnit();<br>
>><br>
>> I am unable to find class MinimalAction in clang 2.8. Has this been<br>
>> deprecated. Is there a replacement provided for this class ?<br>
<br>
</div></div>MinimalAction was taken out because the rigid separation between<br>
Parser and Sema was causing code to be more complicated than it needed<br>
to be, and it didn't seem very useful in practice.  What are you<br>
trying to do?<br>
<br>
On a side note, although the concepts are probably still mostly<br>
accurate, I wouldn't trust any sample code that's over two years old;<br>
clang has changed a lot since then.<br>
<font color="#888888"><br>
-Eli<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Vivek-<br>The bitterest words cried over graves are of words left unsaid and deeds left undone<br>