diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 17:38:55 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 17:38:55 +0000 |
commit | d5132f907367b43d43108bd4367dbbcb650f98ce (patch) | |
tree | 3aee9aaa022426d7a3a4714031243c26f168536c /lib/IR | |
parent | f58ab6bddb21ce1fc4ba6e11ff24857399978812 (diff) | |
download | llvm-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 'lib/IR')
-rw-r--r-- | lib/IR/Core.cpp | 4 | ||||
-rw-r--r-- | lib/IR/GCOV.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index f24704c61c..db3128cfa0 100644 --- a/lib/IR/Core.cpp +++ b/lib/IR/Core.cpp @@ -17,9 +17,9 @@ #include "llvm/IR/Attributes.h" #include "llvm/IR/CallSite.h" #include "llvm/IR/Constants.h" +#include "llvm/IR/DerivedTypes.h" #include "llvm/IR/DiagnosticInfo.h" #include "llvm/IR/DiagnosticPrinter.h" -#include "llvm/IR/DerivedTypes.h" #include "llvm/IR/GlobalAlias.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/IR/IRBuilder.h" @@ -35,10 +35,10 @@ #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Threading.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/system_error.h" #include <cassert> #include <cstdlib> #include <cstring> +#include <system_error> using namespace llvm; diff --git a/lib/IR/GCOV.cpp b/lib/IR/GCOV.cpp index f2099d6baf..77dd7e881b 100644 --- a/lib/IR/GCOV.cpp +++ b/lib/IR/GCOV.cpp @@ -19,8 +19,8 @@ #include "llvm/Support/Format.h" #include "llvm/Support/MemoryObject.h" #include "llvm/Support/Path.h" -#include "llvm/Support/system_error.h" #include <algorithm> +#include <system_error> using namespace llvm; //===----------------------------------------------------------------------===// |