<div dir="ltr">you can use clang-check -ast-dump -ast-dump-filter=<main> (or use -ast-list to show what is filterable)<br></div><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 7:10 AM kaka <<a href="mailto:aamen521@163.com">aamen521@163.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">if the "printf" used decl or something in another .h.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://clang-developers.42468.n3.nabble.com/HOW-TO-GET-smallest-AST-tp4044597p4044600.html" target="_blank">http://clang-developers.42468.<u></u>n3.nabble.com/HOW-TO-GET-<u></u>smallest-AST-<u></u>tp4044597p4044600.html</a><br>
Sent from the Clang Developers mailing list archive at Nabble.com.<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div>