[llvm] 534c096 - [llvm-exegesis] Remove unused using decls (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 24 00:21:39 PDT 2023
Author: Kazu Hirata
Date: 2023-09-24T00:21:33-07:00
New Revision: 534c096ec9a67e7159a1ca987092532eee2c7662
URL: https://github.com/llvm/llvm-project/commit/534c096ec9a67e7159a1ca987092532eee2c7662
DIFF: https://github.com/llvm/llvm-project/commit/534c096ec9a67e7159a1ca987092532eee2c7662.diff
LOG: [llvm-exegesis] Remove unused using decls (NFC)
Identified with misc-unused-using-decls.
Added:
Modified:
llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp b/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
index dbb3f37bd4c29d7..71675d9f4673947 100644
--- a/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
@@ -24,7 +24,6 @@ void InitializeAArch64ExegesisTarget();
namespace {
-using testing::Gt;
using testing::IsEmpty;
using testing::Not;
using testing::NotNull;
diff --git a/llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp b/llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
index 2b7245306b5d898..201e0a8e7acce26 100644
--- a/llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
@@ -20,11 +20,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
-using ::testing::AllOf;
-using ::testing::Eq;
-using ::testing::get;
using ::testing::Pointwise;
-using ::testing::Property;
using llvm::unittest::TempDir;
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
index 5423bfc6fc3f69a..6c558b59be982d1 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
@@ -20,12 +20,9 @@
#include "gtest/gtest.h"
using ::testing::AllOf;
-using ::testing::ElementsAre;
using ::testing::Eq;
using ::testing::Field;
-using ::testing::get;
using ::testing::Pointwise;
-using ::testing::Property;
namespace llvm {
namespace exegesis {
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
index c754d60de3ddacb..b05a713351514ba 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
@@ -28,10 +28,8 @@ void InitializeX86ExegesisTarget();
namespace {
-using testing::AllOf;
using testing::ElementsAre;
using testing::Eq;
-using testing::Field;
using testing::Property;
using testing::SizeIs;
using testing::UnorderedElementsAre;
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
index 6df0e402da36a10..b4d5fcaecd2ff16 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
@@ -27,13 +27,11 @@ namespace {
using testing::AnyOf;
using testing::ElementsAre;
-using testing::Ge;
using testing::Gt;
using testing::HasSubstr;
using testing::IsEmpty;
using testing::Not;
using testing::SizeIs;
-using testing::UnorderedElementsAre;
MATCHER(IsInvalid, "") { return !arg.isValid(); }
MATCHER(IsReg, "") { return arg.isReg(); }
diff --git a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
index c001c693cc14611..ff0810e984dd788 100644
--- a/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
+++ b/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
@@ -60,12 +60,9 @@ using testing::AllOf;
using testing::ElementsAre;
using testing::ElementsAreArray;
using testing::Eq;
-using testing::Gt;
using testing::IsEmpty;
using testing::Matcher;
-using testing::NotNull;
using testing::Property;
-using testing::SizeIs;
Matcher<MCOperand> IsImm(int64_t Value) {
return AllOf(Property(&MCOperand::isImm, Eq(true)),
More information about the llvm-commits
mailing list