This is an archive of the discontinued LLVM Phabricator instance.

[clang][NFC] Add 'override' keyword to virtual function overrides
ClosedPublic

Authored by logan-5 on Jul 10 2020, 7:24 PM.

Details

Reviewers
rsmith
dblaikie
Summary

This patch adds override to several overriding virtual functions that were missing the keyword within the clang/ directory. NFC.

These were found by a Clang build equipped with -Wsuggest-override, as implemented in this patch (D82728).

Diff Detail

Event Timeline

logan-5 created this revision.Jul 10 2020, 7:24 PM
dblaikie accepted this revision.Jul 13 2020, 4:39 PM
dblaikie added a subscriber: dblaikie.

Looks good - thanks!

(I can't actually find where the instructions are on how to request commit access these days - but should you find them, I thin it'd be fine for you to have commit access for committing changes like this)

This revision is now accepted and ready to land.Jul 13 2020, 4:39 PM

Committed as rG2c2a297bb6d1

If you add/leave the "Differential Revision: https://reviews.llvm.org/DXXXX" line in the commit message (arc will add this line automatically) Phabricator will close the review for you automatically

If you add/leave the "Differential Revision: https://reviews.llvm.org/DXXXX" line in the commit message (arc will add this line automatically) Phabricator will close the review for you automatically

Thanks--figured that out shortly after I did this one. :)