This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Added AllowMissingMoveFunctionsWhenCopyIsDeleted flag to cppcoreguidelines-special-member-functions
ClosedPublic

Authored by pbaran on Mar 6 2020, 7:31 AM.

Details

Summary

The flag allows classes to don't define move operations when copy operations are explicitly deleted. This flag is related to Google C++ Style Guide https://google.github.io/styleguide/cppguide.html#Copyable_Movable_Types

Diff Detail

Event Timeline

pbaran created this revision.Mar 6 2020, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2020, 7:31 AM
pbaran updated this revision to Diff 248729.Mar 6 2020, 7:38 AM

Removed unintendedly added comment

Eugene.Zelenko set the repository for this revision to rG LLVM Github Monorepo.
Eugene.Zelenko removed a subscriber: llvm-commits.
This revision is now accepted and ready to land.Mar 14 2020, 10:30 AM

Thank you! Could you please integrate it for me? I do not have access rights

aaron.ballman closed this revision.Mar 16 2020, 5:15 AM

Thank you! Could you please integrate it for me? I do not have access rights

Happy to do so; I've commit in 2f20417ef04781cd5019b9a99b85df4790bdf525, thank you for the patch!