[llvm] [memprof] Remove an unused using directive (PR #117004)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 08:44:09 PST 2024


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/117004

We've switched to LineLocation from FieldsAre, so we don't need this
"using" directive anymore.


>From 1a826b16c5c0f74042fee652ebc4e0a99fbac51a Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Wed, 20 Nov 2024 08:39:53 -0800
Subject: [PATCH] [memprof] Remove an unused using directive

We've switched to LineLocation from FieldsAre, so we don't need this
"using" directive anymore.
---
 llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp b/llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp
index fb87d649a249cd..f672ed2b1251fc 100644
--- a/llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp
+++ b/llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp
@@ -26,7 +26,6 @@ using namespace llvm;
 using namespace llvm::memprof;
 using testing::Contains;
 using testing::ElementsAre;
-using testing::FieldsAre;
 using testing::Pair;
 using testing::SizeIs;
 using testing::UnorderedElementsAre;



More information about the llvm-commits mailing list