CXX11 patch to warn if 'override' is missing on overriding virtual function

Chandler Carruth chandlerc at google.com
Tue Sep 30 15:06:27 PDT 2014


On Tue, Sep 30, 2014 at 2:58 PM, Reid Kleckner <rnk at google.com> wrote:

> Should we really be suggesting that users add C++11 features like override
> when -Wcxx98-compat is on? That seems undesirable.


I think this is yet another reason why we shouldn't have coding convention
enforcement in warnings perhaps?

It's particularly frustrating since we actually have clang-tidy and coding
convention checking now....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140930/383d4503/attachment.html>


More information about the cfe-commits mailing list