summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 11:58:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 11:58:49 +0000
commited6882b8351b37c07b3ddc51e1a62d7d96135aaa (patch)
tree485a5b1c62f0d6a5d86c062dcfbe937b0dd9c9b1 /llvm/lib/Support/LockFileManager.cpp
parent1f6f0f4b54c4fcb1b0e224434f066f2e62def8e9 (diff)
downloadbcm5719-llvm-ed6882b8351b37c07b3ddc51e1a62d7d96135aaa.tar.gz
bcm5719-llvm-ed6882b8351b37c07b3ddc51e1a62d7d96135aaa.zip
Don't import make_error_code into the llvm namespace.
llvm-svn: 210772
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
-rw-r--r--llvm/lib/Support/LockFileManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/LockFileManager.cpp b/llvm/lib/Support/LockFileManager.cpp
index 2b7fc812d51..b050e5de8d4 100644
--- a/llvm/lib/Support/LockFileManager.cpp
+++ b/llvm/lib/Support/LockFileManager.cpp
@@ -114,7 +114,7 @@ LockFileManager::LockFileManager(StringRef FileName)
if (Out.has_error()) {
// We failed to write out PID, so make up an excuse, remove the
// unique lock file, and fail.
- Error = make_error_code(std::errc::no_space_on_device);
+ Error = std::make_error_code(std::errc::no_space_on_device);
sys::fs::remove(UniqueLockFileName.c_str());
return;
}
OpenPOWER on IntegriCloud