[C++11] Switch from the llvm_move macro to directly calling std::move.

llvm-svn: 202611
This commit is contained in:
Chandler Carruth
2014-03-02 04:02:40 +00:00
parent 81aae57282
commit c72d9b33af
4 changed files with 7 additions and 7 deletions

View File

@@ -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;