summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-06-10 02:46:11 +0000
committerZachary Turner <zturner@google.com>2018-06-10 02:46:11 +0000
commit5e119768a1ecf9d6f8ad5b38de7497cc334b69d9 (patch)
tree31ae8137e7b92faa9ff20039c9eaebc9ace074c2 /llvm/lib/Support/Windows/Path.inc
parent1fbca91c07975454d668926f535f36829616e2e2 (diff)
downloadbcm5719-llvm-5e119768a1ecf9d6f8ad5b38de7497cc334b69d9.tar.gz
bcm5719-llvm-5e119768a1ecf9d6f8ad5b38de7497cc334b69d9.zip
Resubmit "[Support] Expose flattenWindowsCommandLine."
There were a few linux compilation failures, but other than that I think this was just a flake that caused the tests to fail. I'm going to resubmit and see if the failures go away, if not I'll revert again. llvm-svn: 334355
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r--llvm/lib/Support/Windows/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc
index 9173206d816..7ef7468867d 100644
--- a/llvm/lib/Support/Windows/Path.inc
+++ b/llvm/lib/Support/Windows/Path.inc
@@ -1197,7 +1197,7 @@ Expected<file_t> openNativeFileForRead(const Twine &Name, OpenFlags Flags,
if (Result && RealPath)
realPathFromHandle(*Result, *RealPath);
- return std::move(Result);
+ return Result;
}
void closeFile(file_t &F) {
OpenPOWER on IntegriCloud