<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 15, 2015 at 2:51 AM, John Smith <span dir="ltr"><<a href="mailto:lbalbalba@gmail.com" target="_blank">lbalbalba@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">Hi,<br>
<br>
<br>
I am wondering if it is currently possible with scan-build, to exclude<br>
certain directories that are part of the build project from the<br>
generated html reports ?<br></blockquote><div><br></div><div>I was waiting for someone to answer to this, hence I didn't answer till now.</div><div><br></div><div>If I have to do something like this, I include a simple if-condition in my checker that somehow tries to get the name of the source file being monitored; then, the checker proceeds with its analysis only if that source file is NOT in a directory that I want to exclude from the analysis.<div><br></div><div>This hack-ish solution will depends on being able to fetch the name of the source file, which is usually possible. But yeah, I would like to have such a feature in-built in scan-build too. :)</div></div><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">
<br>
<br>
I couldnt find anything like that, so I submitted an enhancement<br>
request in bugzilla:<br>
<br>
<a href="http://llvm.org/bugs/show_bug.cgi?id=22594" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=22594</a><br>
<br>
<br>
But on second thought, perhaps I am simply overlooking something obvious here ?<br>
<span class=""><font color="#888888"><br>
<br>
- John Smith<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>
</font></span></blockquote></div><br></div></div>