diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
commit | c080917ec2d1b6cb94186875632fec9118b424b6 (patch) | |
tree | 831f417b0724dd04cbe075e5e2937c3dde0c4061 /clang/lib/Basic/FileSystemStatCache.cpp | |
parent | 6c97d979dfe45d5dd14a6aa44cbcc31dde0fc752 (diff) | |
download | bcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.tar.gz bcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.zip |
Replace llvm::error_code with std::error_code.
llvm-svn: 210780
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
-rw-r--r-- | clang/lib/Basic/FileSystemStatCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/FileSystemStatCache.cpp b/clang/lib/Basic/FileSystemStatCache.cpp index 0f16e94a05e..61f745d8bba 100644 --- a/clang/lib/Basic/FileSystemStatCache.cpp +++ b/clang/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<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. |