diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 17:20:50 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 17:20:50 +0000 |
commit | 71de0b61cb8b70f1c5662bc5252b9d62c060e28e (patch) | |
tree | 717173aae0e715fda33bb8816f7cdbe27df41087 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 2a826e40fa51fcae4adb564d789cafe95776e0bb (diff) | |
download | bcm5719-llvm-71de0b61cb8b70f1c5662bc5252b9d62c060e28e.tar.gz bcm5719-llvm-71de0b61cb8b70f1c5662bc5252b9d62c060e28e.zip |
Update for llvm api change.
llvm-svn: 210921
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index dfe5219ed6a..bca4a59d7cc 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -35,6 +35,7 @@ #include "clang/Serialization/GlobalModuleIndex.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/CrashRecoveryContext.h" +#include "llvm/Support/Errc.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/Host.h" #include "llvm/Support/LockFileManager.h" @@ -572,7 +573,7 @@ CompilerInstance::createOutputFile(StringRef OutputPath, llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath); if (CreateMissingDirectories && - EC == std::errc::no_such_file_or_directory) { + EC == llvm::errc::no_such_file_or_directory) { StringRef Parent = llvm::sys::path::parent_path(OutputPath); EC = llvm::sys::fs::create_directories(Parent); if (!EC) { |