projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea76713
)
Silencing spurious MSVC C4189 warnings regarding local variables that are initialized...
author
Aaron Ballman
<aaron@aaronballman.com>
Fri, 26 Jun 2015 14:51:22 +0000
(14:51 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Fri, 26 Jun 2015 14:51:22 +0000
(14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240786
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/dsymutil/DwarfLinker.cpp
patch
|
blob
|
history
diff --git
a/tools/dsymutil/DwarfLinker.cpp
b/tools/dsymutil/DwarfLinker.cpp
index 7879e83d70fb993e4ec0d800252584ed7551c623..15c86e17362f3aed3d6f6466d4aafdb385dd50e3 100644
(file)
--- a/
tools/dsymutil/DwarfLinker.cpp
+++ b/
tools/dsymutil/DwarfLinker.cpp
@@
-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();