<div dir="ltr">Ping.<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 11:52 AM, Alexander Kornienko <span dir="ltr"><<a href="mailto:alexfh@google.com" target="_blank">alexfh@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Thu, Mar 27, 2014 at 11:06 AM, Daniel Jasper <span dir="ltr"><<a href="mailto:djasper@google.com" target="_blank">djasper@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
  I think we should make it possibly to suppress these with a commandline flag, though (fine for a follow-up).<br></blockquote><div><br></div></div><div>That would be easy, but I'd like to understand the specific use case where you want to silence these messages.</div>

<div><br></div><div>Here's an example:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><span style="font-family:'courier new',monospace"> 1 $ clang-tidy q.cc --<br>
</span><span style="font-family:'courier new',monospace"> 2 q.cc:1:10: warning: expected ';' after top level declarator<br></span><span style="font-family:'courier new',monospace"> 3 </span><span style="font-family:'courier new',monospace">int a = 1<br>

</span><span style="font-family:'courier new',monospace"> 4 </span><span style="font-family:'courier new',monospace">         ^<br></span><span style="font-family:'courier new',monospace"> 5 </span><span style="font-family:'courier new',monospace">         ;<br>

</span><span style="font-family:'courier new',monospace"> 6 </span><span style="font-family:'courier new',monospace">$ clang-tidy -fix q.cc --<br></span><span style="font-family:'courier new',monospace"> 7 </span><span style="font-family:'courier new',monospace">q.cc:1:10: warning: expected ';' after top level declarator<br>

</span><span style="font-family:'courier new',monospace"> 8 </span><span style="font-family:'courier new',monospace">int a = 1<br></span><span style="font-family:'courier new',monospace"> 9 </span><span style="font-family:'courier new',monospace">         ^<br>

</span><span style="font-family:'courier new',monospace">10 </span><span style="font-family:'courier new',monospace">         ;<br></span><span style="font-family:'courier new',monospace">11 </span><span style="font-family:'courier new',monospace">q.cc:1:10: note: FIX-IT applied suggested code changes<br>

</span><span style="font-family:'courier new',monospace">12 </span><span style="font-family:'courier new',monospace">int a = 1<br></span><span style="font-family:'courier new',monospace">13 </span><span style="font-family:'courier new',monospace">         ^<br>

</span><span style="font-family:'courier new',monospace">14</span><span style="font-family:'courier new',monospace"> </span><font face="courier new, monospace" style>clang-tidy applied 1 of 1 suggested fixes.</font></blockquote>

<div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>There are two kinds of messages here:</div><div>  1. one note per fix-it hint (success/failure) - lines 11-13, and I'd like to always remove the part displayed on lines 12-13.</div>

<div>  2. a single message in the very end with the overall stats - line 14, it's the only message output to stderr.<br></div><div><br></div><div>So what and in which cases would you like to be able to silence?</div>
<div>
<br></div><div><br></div></div>
</div></div>
</blockquote></div><br>
</div></div>