This is an archive of the discontinued LLVM Phabricator instance.

[MachineScheduler] Disable default copy ctor and copy assignment operator for SchedBoundary
ClosedPublic

Authored by yubing on May 29 2023, 11:45 PM.

Details

Summary

class SchedBoundary manages resources such as dynamically allocated memory, it's generally a good practice to either implement a custom copy constructor or disable the default one.

Diff Detail

Event Timeline

yubing created this revision.May 29 2023, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2023, 11:45 PM
yubing requested review of this revision.May 29 2023, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2023, 11:45 PM
yubing edited the summary of this revision. (Show Details)May 30 2023, 1:33 AM
pengfei accepted this revision.May 30 2023, 2:08 AM

LGTM.

This revision is now accepted and ready to land.May 30 2023, 2:08 AM