[cfe-dev] c++-analyzer warning question

Aleksei Sidorin via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 21 05:40:31 PDT 2016


Hello Dave,

CSA usually does not emit HTML diagnostics in headers. So, you will not 
get HTML report for this.


21.09.2016 15:34, Dave Flogeras via cfe-dev пишет:
>
> On Wed, Sep 21, 2016 at 8:33 AM, Artem Dergachev <noqnoqneo at gmail.com 
> <mailto:noqnoqneo at gmail.com>> wrote:
>
>     First of all, you shouldn't be calling the "c++-analyzer"
>     executable directly. It shouldn't ideally be in your PATH. This
>     script is intended to be run by a tool called "scan-build", which
>     essentially does the "CXX=c++-analyzer" thing you're doing, just
>     passing a lot of options to this script through its own
>     environment variables.
>
>
> Ahh, OK sorry.  If I re-try with a clean build dir:
>
> scan-build cmake -DCMAKE_BUILD_TYPE=Release ..
> scan-build make
>
> I still see the aforementioned "Potential memory leak" on the console, 
> but at the end of the run scan-build says there are no reports, and 
> removes the output html directory.
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


-- 
Best regards,
Aleksei Sidorin
Software Engineer,
IMSWL-IMCG, SRR, Samsung Electronics

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160921/cfd53b21/attachment.html>


More information about the cfe-dev mailing list