[llvm] 16e22a6 - Remove unused using decl and var in PGOInstrumentationTest (#103447)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 13 17:55:05 PDT 2024
Author: Snehasish Kumar
Date: 2024-08-13T17:55:02-07:00
New Revision: 16e22a6d49ee148b426cb4285aa479b327f3b0f7
URL: https://github.com/llvm/llvm-project/commit/16e22a6d49ee148b426cb4285aa479b327f3b0f7
DIFF: https://github.com/llvm/llvm-project/commit/16e22a6d49ee148b426cb4285aa479b327f3b0f7.diff
LOG: Remove unused using decl and var in PGOInstrumentationTest (#103447)
Added:
Modified:
llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
Removed:
################################################################################
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;
More information about the llvm-commits
mailing list