From 9986295b4f4702e5e02102cb257ae71fceedffec Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jun 2014 14:02:15 +0000 Subject: Replace llvm::error_code with std::error_code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210780 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/FileSystemStatCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Basic/FileSystemStatCache.cpp') diff --git a/lib/Basic/FileSystemStatCache.cpp b/lib/Basic/FileSystemStatCache.cpp index 0f16e94a05..61f745d8bb 100644 --- a/lib/Basic/FileSystemStatCache.cpp +++ b/lib/Basic/FileSystemStatCache.cpp @@ -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 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. -- cgit v1.2.3