On 03/12/2019 22:49, Martin Sebor wrote:
I added another warning: -Wredundant-tags to point out instances
where the class-key or enum-key can safely be dropped. Both warnings
are off by default.

I think -Wredundant-tags would be more useful if it did not warn about occurrences within extern "C" (at least not within included files), as a heuristic to filter out code that is shared between C and C++ and where the tags are thus necessary.

Reply via email to