This is an archive of the discontinued LLVM Phabricator instance.

Use 'override/final' instead of 'virtual' for overridden methods
ClosedPublic

Authored by alexfh on Apr 9 2015, 10:38 AM.

Details

Summary

The patch is generated using clang-tidy misc-use-override check.

This command was used:

tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
    -checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix

svn diff | clang-format-diff -i

Diff Detail

Event Timeline

alexfh updated this revision to Diff 23504.Apr 9 2015, 10:38 AM
alexfh retitled this revision from to Use 'override/final' instead of 'virtual' for overridden methods.
alexfh updated this object.
alexfh edited the test plan for this revision. (Show Details)
alexfh added a reviewer: dblaikie.
alexfh added a subscriber: Unknown Object (MLST).
alexfh updated this revision to Diff 23516.Apr 9 2015, 11:15 AM

Recreated the patch using:

tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix -format

Fewer formatting changes.

dblaikie accepted this revision.Apr 10 2015, 10:20 PM
dblaikie edited edge metadata.

Looks great - thanks a bunch!

This revision is now accepted and ready to land.Apr 10 2015, 10:20 PM
alexfh closed this revision.Apr 11 2015, 1:02 AM