Replace loops using goto with plain while loops
authorRui Ueyama <ruiu@google.com>
Tue, 22 Apr 2014 19:07:14 +0000 (19:07 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 22 Apr 2014 19:07:14 +0000 (19:07 +0000)
commit8dd58d1f02be8e172b4b54fb0a724bb82b01963f
tree3c1ebe86ee5948ee36b2b49ccd55485af289af41
parentb95412cc24e99a72ee3efc05a14995bb508f3a23
Replace loops using goto with plain while loops

Goto statements jumping into previous inner blocks are pretty confusing
to read even though in this case they are valid. No reason to not use
while loops there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206916 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallVector.h