Replace llvm::error_code with std::error_code.
llvm-svn: 210780
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user