cpplearner added a comment. In https://reviews.llvm.org/D45403#1062276, @aaron.ballman wrote:
> I don't think we're currently diagnosing static data members of classes as > being unused in the first place; are there plans to implement that > functionality so that someone might want to write the attribute there? Currently, unused static data members are diagnosed when the enclosing class is in an anonymous namespace: https://wandbox.org/permlink/50nTcaESHdjK8pkd (ironically, the message is "unused variable"). Repository: rC Clang https://reviews.llvm.org/D45403 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits