This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Move MoveOnly to a header file (NFC)
ClosedPublic

Authored by kazu on Dec 10 2022, 6:23 PM.

Details

Summary

This patch moves MoveOnly to a header file so that I can use it from
another .cpp file.

Diff Detail

Event Timeline

kazu created this revision.Dec 10 2022, 6:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2022, 6:23 PM
kazu requested review of this revision.Dec 10 2022, 6:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2022, 6:23 PM
kazu edited the summary of this revision. (Show Details)Dec 10 2022, 6:23 PM
kazu added reviewers: dblaikie, MaskRay.
dblaikie accepted this revision.Dec 10 2022, 9:51 PM

Looks good - could you check if there are any other uses of something like this in other ADT tests that could share this implementation? (I would expect we have a few, maybe with the same name or something pretty similar)

This revision is now accepted and ready to land.Dec 10 2022, 9:51 PM
This revision was landed with ongoing or failed builds.Dec 11 2022, 12:31 AM
This revision was automatically updated to reflect the committed changes.