[llvm] r374143 - [llvm-exegesis][NFC] Remove unecessary `using llvm::` directives.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 00:52:07 PDT 2019
Author: courbet
Date: Wed Oct 9 00:52:07 2019
New Revision: 374143
URL: http://llvm.org/viewvc/llvm-project?rev=374143&view=rev
Log:
[llvm-exegesis][NFC] Remove unecessary `using llvm::` directives.
We've been in namespace llvm for at least a year.
Modified:
llvm/trunk/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
llvm/trunk/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
Modified: llvm/trunk/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp?rev=374143&r1=374142&r2=374143&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp (original)
+++ llvm/trunk/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp Wed Oct 9 00:52:07 2019
@@ -24,8 +24,6 @@ void InitializeAArch64ExegesisTarget();
namespace {
-using llvm::APInt;
-using llvm::MCInst;
using testing::Gt;
using testing::IsEmpty;
using testing::Not;
Modified: llvm/trunk/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp?rev=374143&r1=374142&r2=374143&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp (original)
+++ llvm/trunk/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp Wed Oct 9 00:52:07 2019
@@ -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 {
Modified: llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp?rev=374143&r1=374142&r2=374143&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp (original)
+++ llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp Wed Oct 9 00:52:07 2019
@@ -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)));
More information about the llvm-commits
mailing list