Remove system_error.h.
[oota-llvm.git] / include / llvm / Support / MemoryBuffer.h
index ddb1a992d1d9f3d97e8eadd61f4d43cf82ab3f3a..6d6a5da180b70ce3ce63d4fef6c100191c165c9b 100644 (file)
 #include "llvm/Support/CBindingWrapping.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/DataTypes.h"
-#include "llvm/Support/system_error.h"
 #include <memory>
+#include <system_error>
 
 namespace llvm {
+using std::error_code;
 /// MemoryBuffer - This interface provides simple read-only access to a block
 /// of memory, and provides simple methods for reading files and standard input
 /// into a memory buffer.  In addition to basic access to the characters in the