<p dir="ltr">You can use libclang or libtooling for that.<br>
</p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 13, 2015, 5:19 AM Mohamed Galal El-Din <<a href="mailto:mohamed.g.ebrahim@gmail.com">mohamed.g.ebrahim@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div><div>What would be the best way to parse a given project and generate a function per struct type that prints that struct contents?</div><div><br></div><div>Sent from my BlackBerry 10 smartphone on the Fido network.</div></div>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>