<div dir="ltr">On Sat, Oct 12, 2013 at 1:36 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Sat, Oct 12, 2013 at 8:51 AM, Edwin Vane <span dir="ltr"><<a href="mailto:revane@gmail.com" target="_blank">revane@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Unless your translation unit is absolutely massive and most of it comes from files you don't care about I can't see there being much of a difference.<br>
</div></blockquote><div><br></div></div><div>Unfortunately, "absolutely massive and most of it comes from files you don't care about" is the current state of affairs for C++ :(</div></div></div></div></blockquote>
<div><br></div><div>Interestingly enough the cost of running the matchers is usually very small compared to the cost of creating the AST, thus filtering out unneeded results seems like a good approach.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Sean Silva</div></font></span><div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, Oct 11, 2013 at 11:50 AM, Kirk Fertitta <span dir="ltr"><<a href="mailto:kirk@pacificmindworks.com" target="_blank">kirk@pacificmindworks.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p>Is there a way to run a matcher directly on just the main source file only, as opposed to all of the includes? I know I can discriminate in my callback, but didn’t know if the “penalty” for traversing so much code was negligible or somehow
avoidable.<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Any advice is much appreciated.<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Kirk Fertitta<u></u><u></u></p>
<p>Chief Technical Officer<u></u><u></u></p>
<p>Pacific MindWorks, Inc.<u></u><u></u></p>
<p>ph: <a href="tel:858-207-6198" value="+18582076198" target="_blank">858-207-6198</a><u></u><u></u></p>
<p>fax: <a href="tel:858-521-1385" value="+18585211385" target="_blank">858-521-1385</a><u></u><u></u></p>
<p><u></u> <u></u></p>
</div>
</div>
<br></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" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Edwin V
</font></span></div>
<br>_______________________________________________<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/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div></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></div>