This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] ppcoreguidelines-pro-type-member-init: suppress warning for default member funcs
ClosedPublic

Authored by cwarner-8702 on Dec 15 2020, 12:30 PM.

Details

Summary

Modify the cppcoreguidelines-pro-type-member-init checker to ignore warnings from the move and copy-constructors when they are compiler defined with = default outside of the type declaration.

Reported as LLVM bug 36819

Diff Detail

Event Timeline

cwarner-8702 created this revision.Dec 15 2020, 12:30 PM
cwarner-8702 requested review of this revision.Dec 15 2020, 12:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2020, 12:30 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Dec 17 2020, 2:25 PM
lebedev.ri retitled this revision from tidy: supress warning for default member funcs to [clang-tidy] ppcoreguidelines-pro-type-member-init: suppress warning for default member funcs.Dec 17 2020, 11:20 PM

@malcolm.parsons Could you or someone with commit access merge this on my behalf?

Author Name: Chris Warner
Author Email: cwarner@esri.com

This revision was landed with ongoing or failed builds.Dec 20 2020, 3:24 AM
This revision was automatically updated to reflect the committed changes.