diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 11:58:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 11:58:49 +0000 |
commit | ed6882b8351b37c07b3ddc51e1a62d7d96135aaa (patch) | |
tree | 485a5b1c62f0d6a5d86c062dcfbe937b0dd9c9b1 /llvm/tools/llvm-ar/llvm-ar.cpp | |
parent | 1f6f0f4b54c4fcb1b0e224434f066f2e62def8e9 (diff) | |
download | bcm5719-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/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 77914c5792b..47e8d8de16e 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -453,7 +453,7 @@ int NewArchiveIterator::getFD() const { // Linux cannot open directories with open(2), although // cygwin and *bsd can. if (NewStatus.type() == sys::fs::file_type::directory_file) - failIfError(make_error_code(std::errc::is_a_directory), NewFilename); + failIfError(std::make_error_code(std::errc::is_a_directory), NewFilename); return NewFD; } |