Skip to content

Commit 8466480

Browse files
committed
[ProfData] Remove unused variable in unittest
Removed unused `VTables` in unittests/ProfileData/InstrProfTest.cpp. NFC.
1 parent a345736 commit 8466480

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/unittests/ProfileData/InstrProfTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,6 @@ TEST(SymtabTest, instr_prof_symtab_module_test) {
17821782
EXPECT_THAT(PGOFuncName.str(), EndsWith(Funcs[I].str()));
17831783
}
17841784

1785-
StringRef VTables[] = {"ExternalGV", "LocalGV"};
17861785
for (auto [VTableName, PGOName] : {std::pair{"ExternalGV", "ExternalGV"},
17871786
{"LocalGV", "MyModule.cpp;LocalGV"}}) {
17881787
GlobalVariable *GV =

0 commit comments

Comments
 (0)