[MetadataLoader] Remove unused Vector. NFCI.
llvm-svn: 303196
This commit is contained in:
@@ -500,7 +500,7 @@ class MetadataLoader::MetadataLoaderImpl {
|
||||
|
||||
// Upgrade variables attached to globals.
|
||||
for (auto &GV : TheModule.globals()) {
|
||||
SmallVector<MDNode *, 1> MDs, NewMDs;
|
||||
SmallVector<MDNode *, 1> MDs;
|
||||
GV.getMetadata(LLVMContext::MD_dbg, MDs);
|
||||
GV.eraseMetadata(LLVMContext::MD_dbg);
|
||||
for (auto *MD : MDs)
|
||||
|
||||
Reference in New Issue
Block a user