summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:59:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:59:06 +0000
commit181efbf44a53ebc946b29406b35ac6bb33e80b99 (patch)
tree82bc9d4cda76b8aab25a2ff5a19db38e8e6b1253 /clang/lib
parentd9ba837bfd25926d89494865ae9e31e1b316419c (diff)
downloadbcm5719-llvm-181efbf44a53ebc946b29406b35ac6bb33e80b99.tar.gz
bcm5719-llvm-181efbf44a53ebc946b29406b35ac6bb33e80b99.zip
Use generic_category from the std namespace.
llvm-svn: 210736
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/VirtualFileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp
index 1e771e0e772..27b6c751428 100644
--- a/clang/lib/Basic/VirtualFileSystem.cpp
+++ b/clang/lib/Basic/VirtualFileSystem.cpp
@@ -140,7 +140,7 @@ error_code RealFile::getBuffer(const Twine &Name,
#endif
error_code RealFile::close() {
if (::close(FD))
- return error_code(errno, generic_category());
+ return error_code(errno, std::generic_category());
FD = -1;
return error_code();
}
OpenPOWER on IntegriCloud