This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Changes to modernize-use-default check
ClosedPublic

Authored by malcolm.parsons on Nov 16 2016, 4:03 AM.

Details

Summary

Warn about special member functions that only contain a comment.
Report the location of the special member function, unless it is
defined in a macro. Reporting the location of the body in a macro is
more helpful as it causes the macro expansion location to be reported too.

Fixes PR30920.

Diff Detail

Repository
rL LLVM

Event Timeline

malcolm.parsons retitled this revision from to [clang-tidy] Changes to modernize-use-default check.
malcolm.parsons updated this object.
malcolm.parsons added a subscriber: cfe-commits.
aaron.ballman accepted this revision.Nov 16 2016, 12:58 PM
aaron.ballman edited edge metadata.

LGTM!

This revision is now accepted and ready to land.Nov 16 2016, 12:58 PM
This revision was automatically updated to reflect the committed changes.