diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 03:20:08 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 03:20:08 +0000 |
commit | c049c6574b93d774e572f13db1e8cea7bdb2d982 (patch) | |
tree | 3d400b852ce1e644e4d1164484f8c69a23f6a1f8 /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | |
parent | 4453e4294515bfc0cff16fdd7278f217d9efba4f (diff) | |
download | bcm5719-llvm-c049c6574b93d774e572f13db1e8cea7bdb2d982.tar.gz bcm5719-llvm-c049c6574b93d774e572f13db1e8cea7bdb2d982.zip |
Remove the last uses of 'using std::error_code'
This finishes the transition to std::error_code.
llvm-svn: 210877
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index f3b2b21c091..817d207c2dc 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -31,7 +31,6 @@ #include <vector> using namespace llvm; -using std::error_code; // This variable is intentionally defined differently in the statically-compiled // program from the IR input to the JIT to assert that the JIT doesn't use its @@ -634,7 +633,7 @@ ExecutionEngine *getJITFromBitcode( MemoryBuffer *BitcodeBuffer = MemoryBuffer::getMemBuffer(Bitcode, "Bitcode for test"); ErrorOr<Module*> ModuleOrErr = getLazyBitcodeModule(BitcodeBuffer, Context); - if (error_code EC = ModuleOrErr.getError()) { + if (std::error_code EC = ModuleOrErr.getError()) { ADD_FAILURE() << EC.message(); delete BitcodeBuffer; return nullptr; |