[cfe-commits] Fix for PR 13127
Konstantin Tokarev
annulen at yandex.ru
Sun Nov 4 06:23:50 PST 2012
31.10.2012, 05:51, "John McCall" <rjmccall at apple.com>:
> On Oct 29, 2012, at 5:34 AM, Konstantin Tokarev wrote:
>
>> 26.10.2012, 13:33, "Konstantin Tokarev" <annulen at yandex.ru>:
>>> 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
More information about the cfe-commits
mailing list