[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-me
jordan_rose at apple.com
Wed Jun 6 09:45:52 PDT 2012
With make you should be able to do this:
With CMake I think you'd have to regenerate your build files with the new flag.
On Jun 6, 2012, at 9:43 , Daniel Jasper <djasper at google.com> wrote:
> No, not just yet. That is going to be my next step. Is there an easy way to do that?
> On Wed, Jun 6, 2012 at 6:29 PM, Jordan Rose <jordan_rose at apple.com> wrote:
> Great! Out of curiosity, did you test how many times this pops up when compiling LLVM/Clang?
> On Jun 6, 2012, at 1:32 , Daniel Jasper <djasper at google.com> wrote:
> > Author: djasper
> > Date: Wed Jun 6 03:32:04 2012
> > New Revision: 158054
> > URL: http://llvm.org/viewvc/llvm-project?rev=158054&view=rev
> > Log:
> > Introduce -Wunused-private-field. If enabled, this warning detects
> > unused private fields of classes that are fully defined in the current
> > translation unit.
> > Added:
> > cfe/trunk/test/SemaCXX/warn-unused-member.cpp
> > Modified:
> > cfe/trunk/include/clang/Basic/DiagnosticGroups.td
> > cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
> > cfe/trunk/include/clang/Sema/Sema.h
> > cfe/trunk/lib/Sema/Sema.cpp
> > cfe/trunk/lib/Sema/SemaDeclCXX.cpp
> > cfe/trunk/lib/Sema/SemaExprMember.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits