[cfe-dev] Help
Sebastian Redl via cfe-dev
cfe-dev at lists.llvm.org
Tue Jun 28 05:36:01 PDT 2016
On 28.06.2016 08:19, Hansjörg Pfister via cfe-dev wrote:
>
> Hello,
>
> I’m running LLVM-vs2014 as Plattformtoolset in Visual Studio 2015.
> When I’m running the code analyzer I get the error:
>
> clang-cl.exe : error : no such file or directory: '/analyze'
>
> clang-cl.exe : error : no such file or directory:
> '/analyze:pluginC:\Program Files (x86)\Microsoft Visual Studio
> 14.0\VC\\bin\localespc.dll'
>
> clang-cl.exe : error : no such file or directory: '/analyze:quiet'
>
>
Clang doesn't support Microsoft's analyzer mode. Running the code
analyzer in VS means running the currently configured compiler with the
/analyze options. You can't do this while the platform toolset is Clang
(any variation; I doubt it works if you use Clang/C2 either).
The solution is to switch to a configuration that uses the Microsoft
compiler for analyzing.
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160628/b5883543/attachment.html>
More information about the cfe-dev
mailing list