summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-02 04:08:41 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-02 04:08:41 +0000
commit0a3eef53d7eb99bb902c40549d4170a5048c16c0 (patch)
tree178095a36a69247047e7ac5d5e44a4417c3f5327 /include/llvm/Analysis
parentafad335cae8d1c811e2d4a9de843a36d36b4e8c5 (diff)
downloadllvm-0a3eef53d7eb99bb902c40549d4170a5048c16c0.tar.gz
llvm-0a3eef53d7eb99bb902c40549d4170a5048c16c0.tar.bz2
llvm-0a3eef53d7eb99bb902c40549d4170a5048c16c0.tar.xz
[C++11] Switch all uses of the llvm_move macro to use std::move
directly, and remove the macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/PtrUseVisitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/PtrUseVisitor.h b/include/llvm/Analysis/PtrUseVisitor.h
index 1802fe88e3..31b0b5b30a 100644
--- a/include/llvm/Analysis/PtrUseVisitor.h
+++ b/include/llvm/Analysis/PtrUseVisitor.h
@@ -219,7 +219,7 @@ public:
U = ToVisit.UseAndIsOffsetKnown.getPointer();
IsOffsetKnown = ToVisit.UseAndIsOffsetKnown.getInt();
if (IsOffsetKnown)
- Offset = llvm_move(ToVisit.Offset);
+ Offset = std::move(ToVisit.Offset);
Instruction *I = cast<Instruction>(U->getUser());
static_cast<DerivedT*>(this)->visit(I);