[cfe-commits] PATCH: add-override-specifier tool

Philip Dunstan phil at philipdunstan.com
Sun Jul 15 10:04:59 PDT 2012


This is a patch to add a new tool to the clang tools directory to add the
C++11 override specifier to member functions where appropriate. That is,
member functions that override a virtual function from a base class and
that are not already marked up with the override specifier. This tool uses
the ASTMatchers framework (with a custom matcher) recently integrated from
the tooling branch.

I'm aware of the recent conversation on cfe-dev regarding C++11 migration
tools. There was some talk there of possibly locating these types of tools
separate from the main repository. If there is such a repository I can
rebase the patch to that location.

Philip Dunstan
phil at philipdunstan.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120715/fb7a51c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-override-specifier_tool.patch
Type: application/octet-stream
Size: 10547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120715/fb7a51c3/attachment.obj>

More information about the cfe-commits mailing list