summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileSystem.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 17:38:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 17:38:55 +0000
commitd5132f907367b43d43108bd4367dbbcb650f98ce (patch)
tree3aee9aaa022426d7a3a4714031243c26f168536c /include/llvm/Support/FileSystem.h
parentf58ab6bddb21ce1fc4ba6e11ff24857399978812 (diff)
downloadllvm-d5132f907367b43d43108bd4367dbbcb650f98ce.tar.gz
llvm-d5132f907367b43d43108bd4367dbbcb650f98ce.tar.bz2
llvm-d5132f907367b43d43108bd4367dbbcb650f98ce.tar.xz
Remove system_error.h.
This is a minimal change to remove the header. I will remove the occurrences of "using std::error_code" in a followup patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileSystem.h')
-rw-r--r--include/llvm/Support/FileSystem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index b5dcc665c7..678a3c19ca 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -33,11 +33,11 @@
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TimeValue.h"
-#include "llvm/Support/system_error.h"
#include <ctime>
#include <iterator>
#include <stack>
#include <string>
+#include <system_error>
#include <tuple>
#include <vector>
@@ -46,6 +46,7 @@
#endif
namespace llvm {
+using std::error_code;
namespace sys {
namespace fs {