summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-08-14 15:03:05 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-08-14 15:03:05 +0000
commit4801bd41cf2a3491f21dbd526dc91346e4d54c05 (patch)
treee943f75726751a82de6d5e0cb8c7b45b62b2dc36 /clang/lib/CodeGen/CodeGenModule.cpp
parent40471b3ba8a59f96564fa3616c368910f7c94210 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud