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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-transforms

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>

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


---
Full diff: https://github.com/llvm/llvm-project/pull/117004.diff


1 Files Affected:

- (modified) llvm/unittests/Transforms/Instrumentation/MemProfUseTest.cpp (-1) 


``````````diff
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;

``````````

</details>


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


More information about the llvm-commits mailing list