<div dir="ltr">How is this semantically different from sticking in a header at the top of the file? Can you use -include to just add code to every TU you care about?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Sep 16, 2013 at 11:26 AM, Weiwei Chen <span dir="ltr"><<a href="mailto:weiwei.chen@uci.edu" target="_blank">weiwei.chen@uci.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi there,<div><br></div><div>this may be a dumb question, but we would like to add new types and new functions to the Clang AST. Just wondering if it is possible to do this since we are aware that the Clang AST is immutable. We somehow need more control to the AST rather than source level editing. Could anyone give us some ideas whether Clang is the right infrastructure to use or not?</div>
<div class="im"><div><br></div><div>Thank you very much in advance!</div><div><br><div><br></div></div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
-- Weiwei</div><div><br></div></span><br>
</div>
<br></div></div><br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>