From 96b033006d9959b2e944779ea8836f2c81cc7e2b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 11 Jun 2014 19:05:55 +0000 Subject: Use std::error_code instead of llvm::error_code. This is an update for a llvm api change. llvm-svn: 210688 --- clang/lib/Frontend/CompilerInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Frontend/CompilerInstance.cpp') diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index f5e2749a718..bbcb71f3f1f 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -572,7 +572,7 @@ CompilerInstance::createOutputFile(StringRef OutputPath, llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath); if (CreateMissingDirectories && - EC == llvm::errc::no_such_file_or_directory) { + EC == std::errc::no_such_file_or_directory) { StringRef Parent = llvm::sys::path::parent_path(OutputPath); EC = llvm::sys::fs::create_directories(Parent); if (!EC) { -- cgit v1.2.3