This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Fix warning for unqualified call to std::move
ClosedPublic

Authored by paulkirth on Apr 26 2022, 3:00 PM.

Details

Summary

Fixes warning from RetpolineInsertion.cpp:171:44:
warning: unqualified call to std::move [-Wunqualified-std-cast-call]

Diff Detail

Event Timeline

paulkirth created this revision.Apr 26 2022, 3:00 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
paulkirth requested review of this revision.Apr 26 2022, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2022, 3:00 PM
maksfb accepted this revision.Apr 26 2022, 3:55 PM

Thanks!

This revision is now accepted and ready to land.Apr 26 2022, 3:55 PM

If you can retitle to "[BOLT] Fix warning for unqualified call to std::move" will be even better.

paulkirth retitled this revision from [bolt] fix warning for unqualified call to std::move to [BOLT] Fix warning for unqualified call to std::move.Apr 26 2022, 4:15 PM
paulkirth retitled this revision from [BOLT] Fix warning for unqualified call to std::move to [BOLT][NFC] Fix warning for unqualified call to std::move.