<div dir="ltr">I don't think you can. How would the compiler know where to get those type definitions from when you try to load the ast?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 17, 2014 at 1:21 PM, kaka <span dir="ltr"><<a href="mailto:aamen521@163.com" target="_blank">aamen521@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I use -emit-ast to generate AST files.<br>
And I findĀ  the AST files are so big.<br>
every AST file include the system headers.<br>
How can I get AST files without the repeat headers.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/emit-ast-header-repeat-tp4042483.html" target="_blank">http://clang-developers.42468.n3.nabble.com/emit-ast-header-repeat-tp4042483.html</a><br>
Sent from the Clang Developers mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>