forked from OSchip/llvm-project
Silencing spurious MSVC C4189 warnings regarding local variables that are initialized but not used; NFC. This bug has been reported to Microsoft (https://connect.microsoft.com/VisualStudio/feedback/details/1475983).
llvm-svn: 240786
This commit is contained in:
parent
854038ed1a
commit
a17cbff2f6
|
@ -1427,10 +1427,10 @@ void DwarfLinker::endDebugObject() {
|
|||
ValidRelocs.clear();
|
||||
Ranges.clear();
|
||||
|
||||
for (auto *Block : DIEBlocks)
|
||||
Block->~DIEBlock();
|
||||
for (auto *Loc : DIELocs)
|
||||
Loc->~DIELoc();
|
||||
for (auto I = DIEBlocks.begin(), E = DIEBlocks.end(); I != E; ++I)
|
||||
(*I)->~DIEBlock();
|
||||
for (auto I = DIELocs.begin(), E = DIELocs.end(); I != E; ++I)
|
||||
(*I)->~DIELoc();
|
||||
|
||||
DIEBlocks.clear();
|
||||
DIELocs.clear();
|
||||
|
|
Loading…
Reference in New Issue