<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello everyone.</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm having trouble to follow the steps to run clang-modernize. The tip they give for <span class="" style="background-color:rgb(255,255,204)">cmake</span> users is to run<span class="" style="background-color:rgb(255,255,204)">cmake</span> with this define. (see the website here : <a href="http://clang.llvm.org/extra/clang-modernize.html" target="_blank">http://clang.llvm.org/extra/clang-modernize.html</a>)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">They say this should generate a "compilataion database" i.e. info explaining How the files will be build so clang-modernize can use the same flags.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">-> BTW the same tip is given for clang-check.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">But I don't see anything chanage in the output of <span class="" style="background-color:rgb(255,255,204)">cmake</span> when I run with this command and when I run the clang tool it says there is no database.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I've looked for informations about this flags in the documentation but could not find it.</div>
<div style="font-family:arial,sans-serif;font-size:13px">The only hint I have is that maybe it does not exist for MSVC generators.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Could you help me please. </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Patform info:</div><div style="font-family:arial,sans-serif;font-size:13px">I use <span class="" style="background-color:rgb(255,255,204)">cmake</span> 2.8.12.1 (last version i know)</div>
<div style="font-family:arial,sans-serif;font-size:13px">With Visual 2013.</div></div>