[PATCH] D124482: [BOLT][NFC] Fix warning for unqualified call to std::move
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 16:18:33 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa0b8ab1ba316: [BOLT][NFC] Fix warning for unqualified call to std::move (authored by paulkirth).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124482/new/
https://reviews.llvm.org/D124482
Files:
bolt/lib/Passes/RetpolineInsertion.cpp
Index: bolt/lib/Passes/RetpolineInsertion.cpp
===================================================================
--- bolt/lib/Passes/RetpolineInsertion.cpp
+++ bolt/lib/Passes/RetpolineInsertion.cpp
@@ -168,7 +168,7 @@
MCInst Return;
MIB.createReturn(Return);
BB2.addInstruction(Return);
- NewRetpoline->insertBasicBlocks(nullptr, move(NewBlocks),
+ NewRetpoline->insertBasicBlocks(nullptr, std::move(NewBlocks),
/* UpdateLayout */ true,
/* UpdateCFIState */ false);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124482.425330.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220426/02b633c4/attachment.bin>
More information about the llvm-commits
mailing list