Patches to add-override functionality to cpp11-migrate tool

Philip Dunstan phil at philipdunstan.com
Fri Feb 8 13:01:45 PST 2013


Hello

These patches continue some work that I started back in July (before RL
kicked in) to create a C++11 migration tool that would add the override
specifier to suitable member functions where it could. I have reworked the
tool to integrate it into the cpp11-migrate tool in the tool/extra
repository.

There are two patches - one on the clang repository with some AST matchers
and the other on the tool/extra repo.

add-override-clang_174296.patch
Adds ASTMatchers isVirtual and isOverride

add-override-clang_tools_extra_174296.patch
Adds the -add-override refactor to the cpp11-migrate tool

Phil
--
Philip Dunstan
phil at philipdunstan.com
www.philipdunstan.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130208/3349ed18/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-override_clang_174738.patch
Type: application/octet-stream
Size: 2369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130208/3349ed18/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-override_clang_tools_extra_174738.patch
Type: application/octet-stream
Size: 16684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130208/3349ed18/attachment-0001.obj>


More information about the cfe-commits mailing list