[llvm] Remove unused using decl and var in PGOInstrumentationTest (PR #103447)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 14:06:48 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Snehasish Kumar (snehasish)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/103447.diff
1 Files Affected:
- (modified) llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp (-2)
``````````diff
diff --git a/llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp b/llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
index 02c2df2a138b02..8c649d3a5ab885 100644
--- a/llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
+++ b/llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
@@ -24,7 +24,6 @@ using namespace llvm;
using testing::_;
using ::testing::DoDefault;
using ::testing::Invoke;
-using ::testing::IsNull;
using ::testing::NotNull;
using ::testing::Ref;
using ::testing::Return;
@@ -107,7 +106,6 @@ class MockModuleAnalysisHandle
struct PGOInstrumentationGenTest
: public Test,
WithParamInterface<std::tuple<StringRef, StringRef>> {
- LLVMContext Ctx;
ModulePassManager MPM;
PassBuilder PB;
MockModuleAnalysisHandle MMAHandle;
``````````
</details>
https://github.com/llvm/llvm-project/pull/103447
More information about the llvm-commits
mailing list