Thanks for your answer Garrison! I will check out clang's ASTConsumer as you say.<br><br>Greetings.<br><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 7:03 PM, Garrison Venn <span dir="ltr"><<a href="mailto:gvenn.cfe.dev@gmail.com">gvenn.cfe.dev@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;">Check out clang's ASTConsumer, and its various driver, and front end components. I cannot give you more details, as I'm<br>

about to start doing this myself, albeit from C++ source to a non-source foreign language library. However I believe<br>
your goal is most definitely doable.<br>
<br>
Garrison<br>
<div><div></div><div class="h5"><br>
On Oct 20, 2010, at 16:57, Carlos Crespo wrote:<br>
<br>
> Hello,<br>
><br>
> I'm trying to do a source to source translation from C++ code to C++ code. I want the output to contains some automatically inserted annotations, and the rest of the code exactly the same as it was before the processing. Is this possible with llvm?<br>

><br>
> Thanks.<br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
</blockquote></div><br>