[PATCH] New warning for methods not marked 'override'
espanz at gmail.com
Fri Aug 2 14:06:00 PDT 2013
Add a warning for overridden methods that are missing the 'override' keyword. This diagnostic is only triggered when at least one method is marked 'override' in the class, and only in C++11 mode.
This way, codebase owners can be more confident when adding 'override' - it can be added one class at a time while asserting that methods are 'override' iff they override a base class's method.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8883 bytes
Desc: not available
More information about the cfe-commits