Don't import make_error_code into the llvm namespace.

llvm-svn: 210772
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 77914c5..47e8d8d 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -453,7 +453,7 @@
   // 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;
 }