Replace llvm::error_code with std::error_code.

llvm-svn: 210780
This commit is contained in:
Rafael Espindola
2014-06-12 14:02:15 +00:00
parent 6c97d979df
commit c080917ec2
26 changed files with 76 additions and 78 deletions

View File

@@ -79,7 +79,7 @@ bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile,
// Because of this, check to see if the file exists with 'open'. If the
// open succeeds, use fstat to get the stat info.
std::unique_ptr<vfs::File> OwnedFile;
llvm::error_code EC = FS.openFileForRead(Path, OwnedFile);
std::error_code EC = FS.openFileForRead(Path, OwnedFile);
if (EC) {
// If the open fails, our "stat" fails.