[llvm] [llvm][AArch64] Drop unused&redundant field in the TargetParserTest. NFC (PR #97367)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 06:27:13 PDT 2024


================
@@ -1071,10 +1071,29 @@ TEST(TargetParserTest, ARMPrintSupportedExtensions) {
   EXPECT_EQ(std::string::npos, captured.find("xscale"));
 }
 
-class AArch64CPUTestFixture : public ::testing::TestWithParam<
-                                  ARMCPUTestParams<AArch64::ExtensionBitset>> {
+template <typename T> struct AArch64CPUTestParams : public ARMCPUTestParams<T> {
----------------
tmatheson-arm wrote:

Why the template?

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


More information about the llvm-commits mailing list