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:
Aaron Ballman 2015-06-26 14:51:22 +00:00
parent 854038ed1a
commit a17cbff2f6
1 changed files with 4 additions and 4 deletions

View File

@ -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();