This is an archive of the discontinued LLVM Phabricator instance.

[MC] Disable default copy ctor and copy assignment operator for CodeViewContext
ClosedPublic

Authored by yubing on May 30 2023, 1:31 AM.

Details

Summary

class CodeViewContext 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 30 2023, 1:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2023, 1:31 AM
yubing requested review of this revision.May 30 2023, 1:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 30 2023, 1:31 AM
yubing added a reviewer: skan.May 30 2023, 1:31 AM
yubing edited the summary of this revision. (Show Details)
skan accepted this revision.May 30 2023, 3:13 AM

LGTM

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