diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-08-14 15:03:05 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-08-14 15:03:05 +0000 |
commit | 4801bd41cf2a3491f21dbd526dc91346e4d54c05 (patch) | |
tree | e943f75726751a82de6d5e0cb8c7b45b62b2dc36 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 40471b3ba8a59f96564fa3616c368910f7c94210 (diff) | |
download | bcm5719-llvm-4801bd41cf2a3491f21dbd526dc91346e4d54c05.tar.gz bcm5719-llvm-4801bd41cf2a3491f21dbd526dc91346e4d54c05.zip |
Replace two for loops with while(!X->use_empty()) loops. This prevents
invalidating the iterator by deleting the current use. This fixes a segfault on
64 bit linux reported in PR2675.
Also remove an unneeded if.
llvm-svn: 54778
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions