[RGT][TextAPI] Remove a zero-trip loop and the assertions within it
authorPaul Robinson <paul.robinson@sony.com>
Fri, 15 Jan 2021 17:11:31 +0000 (09:11 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 22 Jan 2021 23:07:41 +0000 (15:07 -0800)
commit25fefa5a098e958888496735f793fd01f3e82874
tree6d05d7c8eec39d1ca20bc8724fc03635ba607a3a
parent6ea7ecbb72aa139ebb1a343a6d544b84b99f1f3a
[RGT][TextAPI] Remove a zero-trip loop and the assertions within it

Found by the Rotten Green Tests project.

Differential Revision: https://reviews.llvm.org/D95259
llvm/unittests/TextAPI/TextStubV4Tests.cpp