mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
using std::error_code;
|
||||
class Function;
|
||||
class GlobalValue;
|
||||
class Module;
|
||||
@@ -43,7 +42,7 @@ public:
|
||||
|
||||
/// Make sure the given GlobalValue is fully read.
|
||||
///
|
||||
virtual error_code Materialize(GlobalValue *GV) = 0;
|
||||
virtual std::error_code Materialize(GlobalValue *GV) = 0;
|
||||
|
||||
/// If the given GlobalValue is read in, and if the GVMaterializer supports
|
||||
/// it, release the memory for the GV, and set it up to be materialized
|
||||
@@ -54,7 +53,7 @@ public:
|
||||
|
||||
/// Make sure the entire Module has been completely read.
|
||||
///
|
||||
virtual error_code MaterializeModule(Module *M) = 0;
|
||||
virtual std::error_code MaterializeModule(Module *M) = 0;
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user