mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -16,6 +16,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
using namespace llvm::sys;
|
||||
using std::error_code;
|
||||
|
||||
#define ASSERT_NO_ERROR(x) \
|
||||
if (error_code ASSERT_NO_ERROR_ec = x) { \
|
||||
|
@@ -14,6 +14,7 @@
|
||||
#include <memory>
|
||||
|
||||
using namespace llvm;
|
||||
using std::error_code;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@@ -17,6 +17,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace llvm;
|
||||
using std::error_code;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@@ -14,6 +14,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
using namespace sys;
|
||||
using std::error_code;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@@ -20,6 +20,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
using namespace llvm::sys;
|
||||
using std::error_code;
|
||||
|
||||
#define ASSERT_NO_ERROR(x) \
|
||||
if (error_code ASSERT_NO_ERROR_ec = x) { \
|
||||
|
Reference in New Issue
Block a user