From d5132f907367b43d43108bd4367dbbcb650f98ce Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 12 Jun 2014 17:38:55 +0000 Subject: 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 --- tools/obj2yaml/Error.h | 4 ++-- tools/obj2yaml/obj2yaml.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/obj2yaml') diff --git a/tools/obj2yaml/Error.h b/tools/obj2yaml/Error.h index b4d13ba7d0..b91bfbb33c 100644 --- a/tools/obj2yaml/Error.h +++ b/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 namespace llvm { - +using std::error_code; const std::error_category &obj2yaml_category(); enum class obj2yaml_error { diff --git a/tools/obj2yaml/obj2yaml.h b/tools/obj2yaml/obj2yaml.h index 19476f78f4..6d81110f7a 100644 --- a/tools/obj2yaml/obj2yaml.h +++ b/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 std::error_code coff2yaml(llvm::raw_ostream &Out, const llvm::object::COFFObjectFile &Obj); -- cgit v1.2.3