Ping.
On Thu, Mar 27, 2014 at 11:52 AM, Alexander Kornienko <[email protected]>wrote: > On Thu, Mar 27, 2014 at 11:06 AM, Daniel Jasper <[email protected]>wrote: > >> >> I think we should make it possibly to suppress these with a commandline >> flag, though (fine for a follow-up). >> > > That would be easy, but I'd like to understand the specific use case where > you want to silence these messages. > > Here's an example: > > 1 $ clang-tidy q.cc -- > 2 q.cc:1:10: warning: expected ';' after top level declarator > 3 int a = 1 > 4 ^ > 5 ; > 6 $ clang-tidy -fix q.cc -- > 7 q.cc:1:10: warning: expected ';' after top level declarator > 8 int a = 1 > 9 ^ > 10 ; > 11 q.cc:1:10: note: FIX-IT applied suggested code changes > 12 int a = 1 > 13 ^ > 14 clang-tidy applied 1 of 1 suggested fixes. > > > There are two kinds of messages here: > 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. > 2. a single message in the very end with the overall stats - line 14, > it's the only message output to stderr. > > So what and in which cases would you like to be able to silence? > > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
