Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2022-04-27 02:17:26 +0300
committerPaul Kirth <paulkirth@google.com>2022-04-27 02:18:20 +0300
commita0b8ab1ba3165d468792cf0032fce274c7d624e1 (patch)
tree4cd0a3a45d5c5ba1f50d91298b210f6a033b47db /bolt
parent33e8ab8ea089229e6c31855fbccda278e43f9df1 (diff)
[BOLT][NFC] Fix warning for unqualified call to std::move
Fixes warning from RetpolineInsertion.cpp:171:44: warning: unqualified call to std::move [-Wunqualified-std-cast-call] Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D124482
Diffstat (limited to 'bolt')
-rw-r--r--bolt/lib/Passes/RetpolineInsertion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/lib/Passes/RetpolineInsertion.cpp b/bolt/lib/Passes/RetpolineInsertion.cpp
index 985c8ef63732..c91c185a0665 100644
--- a/bolt/lib/Passes/RetpolineInsertion.cpp
+++ b/bolt/lib/Passes/RetpolineInsertion.cpp
@@ -168,7 +168,7 @@ BinaryFunction *createNewRetpoline(BinaryContext &BC,
MCInst Return;
MIB.createReturn(Return);
BB2.addInstruction(Return);
- NewRetpoline->insertBasicBlocks(nullptr, move(NewBlocks),
+ NewRetpoline->insertBasicBlocks(nullptr, std::move(NewBlocks),
/* UpdateLayout */ true,
/* UpdateCFIState */ false);