mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Remove the last uses of 'using std::error_code'
This finishes the transition to std::error_code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user