<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 28.06.2016 08:19, Hansjörg Pfister via cfe-dev wrote:<br>
<blockquote
cite="mid:9CDE7F00F68E1E4298421B667F286083895BED31@HGMAIL02.GMMDB.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US">I’m running LLVM-vs2014 as Plattformtoolset in
Visual Studio 2015. When I’m running the code analyzer I get
the error:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US">clang-cl.exe : error : no such file or
directory: '/analyze'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US">clang-cl.exe : error : no such file or
directory: '/analyze:pluginC:\Program Files (x86)\Microsoft
Visual Studio 14.0\VC\\bin\localespc.dll'<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"
lang="EN-US">clang-cl.exe : error : no such file or
directory: '/analyze:quiet'</span><span
style="font-size:9.5pt;font-family:Consolas;color:black"
lang="EN-US"><o:p></o:p></span></p>
<br>
</div>
</blockquote>
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).<br>
<br>
The solution is to switch to a configuration that uses the Microsoft
compiler for analyzing.<br>
<br>
Sebastian<br>
</body>
</html>