aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-02 04:02:40 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-02 04:02:40 +0000
commitc72d9b33aff335f676a34de47a2aa336207b917f (patch)
treeb203a12f094539b114a868bf6309907d86064b62 /clang/lib/Basic/VirtualFileSystem.cpp
parent81aae572828077f54948b6dfdcab5003a4985ab9 (diff)
downloadllvm-c72d9b33aff335f676a34de47a2aa336207b917f.zip
llvm-c72d9b33aff335f676a34de47a2aa336207b917f.tar.gz
llvm-c72d9b33aff335f676a34de47a2aa336207b917f.tar.bz2
[C++11] Switch from the llvm_move macro to directly calling std::move.
llvm-svn: 202611
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
-rw-r--r--clang/lib/Basic/VirtualFileSystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp
index c32df5b..f21cff6 100644
--- a/clang/lib/Basic/VirtualFileSystem.cpp
+++ b/clang/lib/Basic/VirtualFileSystem.cpp
@@ -110,7 +110,7 @@ ErrorOr<Status> RealFile::status() {
return EC;
Status NewS(RealStatus);
NewS.setName(S.getName());
- S = llvm_move(NewS);
+ S = std::move(NewS);
}
return S;
}
@@ -592,11 +592,11 @@ class VFSFromYAMLParser {
Entry *Result = 0;
switch (Kind) {
case EK_File:
- Result = new FileEntry(LastComponent, llvm_move(ExternalContentsPath),
+ Result = new FileEntry(LastComponent, std::move(ExternalContentsPath),
UseExternalName);
break;
case EK_Directory:
- Result = new DirectoryEntry(LastComponent, llvm_move(EntryArrayContents),
+ Result = new DirectoryEntry(LastComponent, std::move(EntryArrayContents),
Status("", "", getNextVirtualUniqueID(), sys::TimeValue::now(), 0, 0,
0, file_type::directory_file, sys::fs::all_all));
break;