[PATCH] -Woverloaded-virtual

Aaron Ballman aaron at aaronballman.com
Wed Jul 30 14:31:53 PDT 2014


On Wed, Jul 30, 2014 at 4:40 PM, Nico Weber <thakis at chromium.org> wrote:
> Have you tested this on a large codebase? clang's -Woverloaded-virtual has
> been tweaked to have an acceptable noise level. gcc's version of the warning
> is uselessly noisy; clang's version is always one of its best diagnostics
> when I run it on a codebase that hasn't been built with clang before.

Clang itself was what originated the idea. Our GCC bots spit out
several warnings in a handful of places where clang does not spit any
warnings out, but the number is fairly small (maybe 10 warnings).

~Aaron



More information about the cfe-commits mailing list