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/Serialization/GlobalModuleIndex.cpp | |
parent | 6c97d979dfe45d5dd14a6aa44cbcc31dde0fc752 (diff) | |
download | llvm-c080917ec2d1b6cb94186875632fec9118b424b6.zip llvm-c080917ec2d1b6cb94186875632fec9118b424b6.tar.gz llvm-c080917ec2d1b6cb94186875632fec9118b424b6.tar.bz2 |
Replace llvm::error_code with std::error_code.
llvm-svn: 210780
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
-rw-r--r-- | clang/lib/Serialization/GlobalModuleIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/GlobalModuleIndex.cpp b/clang/lib/Serialization/GlobalModuleIndex.cpp index 8516951..a1bec89 100644 --- a/clang/lib/Serialization/GlobalModuleIndex.cpp +++ b/clang/lib/Serialization/GlobalModuleIndex.cpp @@ -787,7 +787,7 @@ GlobalModuleIndex::writeIndex(FileManager &FileMgr, StringRef Path) { GlobalModuleIndexBuilder Builder(FileMgr); // Load each of the module files. - llvm::error_code EC; + std::error_code EC; for (llvm::sys::fs::directory_iterator D(Path, EC), DEnd; D != DEnd && !EC; D.increment(EC)) { |