<div dir="ltr">Yep: <a href="http://clang.llvm.org/docs/LibTooling.html">http://clang.llvm.org/docs/LibTooling.html</a></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 11, 2016 at 9:50 PM paul Surette via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all. i have just joined this list and I have a question about clang / LLVM and ASTs.<br class="gmail_msg">
Can I create an AST for a particular source file in memory      as opposed to using clang —dump-ast foo.cpp?<br class="gmail_msg">
<br class="gmail_msg">
Cheers<br class="gmail_msg">
FamilyHistorian<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
cfe-dev mailing list<br class="gmail_msg">
<a href="mailto:cfe-dev@lists.llvm.org" class="gmail_msg" target="_blank">cfe-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="gmail_msg">
</blockquote></div>