diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-21 18:44:06 +0000 |
| commit | 60635e39b669713fe8d7b40bf8b4b10fb7fb34d6 (patch) | |
| tree | a0a124c763e644d915844e862e6216375674137f /llvm/lib/Transforms/IPO | |
| parent | dadc2b627d834acda6def76209db2c2001a079a9 (diff) | |
| download | bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.tar.gz bcm5719-llvm-60635e39b669713fe8d7b40bf8b4b10fb7fb34d6.zip | |
DebugInfo: Drop rest of DIDescriptor subclasses
Delete the remaining subclasses of (the already deleted) `DIDescriptor`.
Part of PR23080.
llvm-svn: 235404
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/StripSymbols.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/StripSymbols.cpp b/llvm/lib/Transforms/IPO/StripSymbols.cpp index ef43dd2d37b..bcead02d80a 100644 --- a/llvm/lib/Transforms/IPO/StripSymbols.cpp +++ b/llvm/lib/Transforms/IPO/StripSymbols.cpp @@ -321,11 +321,8 @@ bool StripDeadDebugInfo::runOnModule(Module &M) { } // Create our live global variable list. - MDGlobalVariableArray GVs = DIC->getGlobalVariables(); bool GlobalVariableChange = false; - for (unsigned i = 0, e = GVs.size(); i != e; ++i) { - DIGlobalVariable DIG = GVs[i]; - + for (MDGlobalVariable *DIG : DIC->getGlobalVariables()) { // Make sure we only visit each global variable only once. if (!VisitedSet.insert(DIG).second) continue; |

