summaryrefslogtreecommitdiffstats
path: root/llvm/tools/obj2yaml
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
commita6e9c3e43ae125530b7d9f158f5486ac48ca5a29 (patch)
tree767534680e11e07890b647f1943819d0dd75e47c /llvm/tools/obj2yaml
parent8a8e554adc5f0f0ec74e0bae6fbef600b37a9a06 (diff)
downloadbcm5719-llvm-a6e9c3e43ae125530b7d9f158f5486ac48ca5a29.tar.gz
bcm5719-llvm-a6e9c3e43ae125530b7d9f158f5486ac48ca5a29.zip
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. llvm-svn: 210803
Diffstat (limited to 'llvm/tools/obj2yaml')
-rw-r--r--llvm/tools/obj2yaml/Error.h4
-rw-r--r--llvm/tools/obj2yaml/obj2yaml.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/obj2yaml/Error.h b/llvm/tools/obj2yaml/Error.h
index b4d13ba7d03..b91bfbb33c0 100644
--- a/llvm/tools/obj2yaml/Error.h
+++ b/llvm/tools/obj2yaml/Error.h
@@ -10,10 +10,10 @@
#ifndef LLVM_TOOLS_ERROR_H
#define LLVM_TOOLS_ERROR_H
-#include "llvm/Support/system_error.h"
+#include <system_error>
namespace llvm {
-
+using std::error_code;
const std::error_category &obj2yaml_category();
enum class obj2yaml_error {
diff --git a/llvm/tools/obj2yaml/obj2yaml.h b/llvm/tools/obj2yaml/obj2yaml.h
index 19476f78f42..6d81110f7a3 100644
--- a/llvm/tools/obj2yaml/obj2yaml.h
+++ b/llvm/tools/obj2yaml/obj2yaml.h
@@ -15,7 +15,7 @@
#include "llvm/Object/COFF.h"
#include "llvm/Support/raw_ostream.h"
-#include "llvm/Support/system_error.h"
+#include <system_error>
std::error_code coff2yaml(llvm::raw_ostream &Out,
const llvm::object::COFFObjectFile &Obj);
OpenPOWER on IntegriCloud