summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp2
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp11
-rw-r--r--llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp5
3 files changed, 5 insertions, 13 deletions
diff --git a/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp b/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
index 4a685410ca2..78c39b8fdb7 100644
--- a/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
@@ -24,8 +24,6 @@ void InitializeAArch64ExegesisTarget();
namespace {
-using llvm::APInt;
-using llvm::MCInst;
using testing::Gt;
using testing::IsEmpty;
using testing::Not;
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
index ce7d9be663c..54a33a1e155 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
@@ -16,12 +16,11 @@ void InitializeX86ExegesisTarget();
namespace {
-using llvm::MCInstBuilder;
-using llvm::X86::EAX;
-using llvm::X86::MOV32ri;
-using llvm::X86::MOV64ri32;
-using llvm::X86::RAX;
-using llvm::X86::XOR32rr;
+using X86::EAX;
+using X86::MOV32ri;
+using X86::MOV64ri32;
+using X86::RAX;
+using X86::XOR32rr;
class X86MachineFunctionGeneratorTest
: public MachineFunctionGeneratorBaseTest {
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
index 344ec6027d2..d1bf120f77c 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
@@ -60,11 +60,6 @@ using testing::NotNull;
using testing::Property;
using testing::SizeIs;
-using llvm::APInt;
-using llvm::MCInst;
-using llvm::MCInstBuilder;
-using llvm::MCOperand;
-
Matcher<MCOperand> IsImm(int64_t Value) {
return AllOf(Property(&MCOperand::isImm, Eq(true)),
Property(&MCOperand::getImm, Eq(Value)));
OpenPOWER on IntegriCloud