This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] UnnecessaryValueParamCheck - only warn for virtual methods
ClosedPublic

Authored by flx on Jul 1 2016, 2:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

flx updated this revision to Diff 62535.Jul 1 2016, 2:01 PM
flx retitled this revision from to [clang-tidy] UnnecessaryValueParamCheck - only warn for virtual methods.
flx updated this object.
flx added reviewers: alexfh, sbenza.
flx set the repository for this revision to rL LLVM.
flx added a subscriber: cfe-commits.
alexfh accepted this revision.Jul 4 2016, 1:55 AM
alexfh edited edge metadata.

LG after addressing the comment. Thanks!

test/clang-tidy/performance-unnecessary-value-param.cpp
234 ↗(On Diff #62535)

Please add a test for an override not explicitly marked "virtual" or "override".

This revision is now accepted and ready to land.Jul 4 2016, 1:55 AM
flx updated this revision to Diff 62750.Jul 5 2016, 7:42 AM
flx edited edge metadata.
flx removed rL LLVM as the repository for this revision.
flx added inline comments.
test/clang-tidy/performance-unnecessary-value-param.cpp
234 ↗(On Diff #62535)

That case is already covered in line 180. I moved these tests up now to have them grouped together.

This revision was automatically updated to reflect the committed changes.