[LLVMdev] [RFC] C++11: 'virtual' and 'override'

Chandler Carruth chandlerc at google.com
Tue Mar 4 22:44:47 PST 2014


On Tue, Mar 4, 2014 at 10:38 PM, Pete Cooper <peter_cooper at apple.com> wrote:

> Would it be too much to have clang emit a warning/error if override is
> missing?  I know that sounds crazy and people hate errors which fire too
> often, but there’s not too much C++11 code out there yet, and so we have a
> chance to put errors/warnings in now without too much pain.  People might
> just get used to them and think its how code has to be written :)
>

There is already work on a clang-tidy check for this.

We actually have the framework for Chris's asked-for coding convention
checker. Now we get to use it. =D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140304/19c3f6b9/attachment.html>


More information about the llvm-dev mailing list