[cfe-dev] How can use scan-build in win7

Anton Yartsev anton.yartsev at gmail.com
Mon Jul 13 15:42:02 PDT 2015


Hi,
currently scan-build has problems with clang++.exe passed as an analyzer 
to use. A workaround is to provide a path to clang.exe instead: 
--use-analyzer=F:\Clang\llvm-3.6.0.src\build\MinSizeRel\bin\clang.exe. 
Submitted as PR24112 <https://llvm.org/bugs/show_bug.cgi?id=24112>.
> <http://clang-developers.42468.n3.nabble.com/file/n4046467/QQ%E5%9B%BE%E7%89%8720150709154534.png>
> <http://clang-developers.42468.n3.nabble.com/file/n4046467/QQ%E5%9B%BE%E7%89%8720150709154556.png>
>
> I use this command  to call built-in checker
> ---alphs.unix.csting.OufOfBounds, but it do noting to check
> test.cpp. Rather this command can work in linux. So what should i do in win7
> make it run.
>
>
>
> --
> View this message in context: http://clang-developers.42468.n3.nabble.com/How-can-use-scan-build-in-win7-tp4046467.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-- 
Anton

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


More information about the cfe-dev mailing list