[cfe-commits] r158054 - in /cfe/trunk: include/clang/Basic/DiagnosticGroups.td include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/Sema.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExprMember.cpp test/SemaCXX/warn-unused-member.cpp

Jordan Rose jordan_rose at apple.com
Wed Jun 6 12:29:56 PDT 2012


On Jun 6, 2012, at 11:31 , Benjamin Kramer <benny.kra at googlemail.com> wrote:

> 
> On 06.06.2012, at 18:29, Jordan Rose wrote:
> 
>> Great! Out of curiosity, did you test how many times this pops up when compiling LLVM/Clang?
> 
> I ran it on clang and LLVM and it found a lot of cases. This is something that comes up a lot during refactoring, and really useful to be warned about. I cleaned up most of the cases in LLVM and I think this is a perfect candidate for -Wextra, maybe even -Wall.

Awesome. Thanks, Ben!




More information about the cfe-commits mailing list