31.10.2012, 05:51, "John McCall" <[email protected]>: > On Oct 29, 2012, at 5:34 AM, Konstantin Tokarev wrote: > >> 26.10.2012, 13:33, "Konstantin Tokarev" <[email protected]>: >>> Attached patch with added unit test. >> Ping > > There's no need to constrain this to only static methods — it should apply to > any sort of non-instance declaration (e.g. a static data member or an enum > constant).
For some reason unmodified clang does not produce warnings for static data member and enum constant in the same context. -- Regards, Konstantin _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
