diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-02-14 18:51:21 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-02-14 18:51:21 +0000 |
commit | 257fcd9b17119455a02f965b95200a286435e942 (patch) | |
tree | 9cd4144ddc9f7ef34dd32d5762750fe499c601e8 /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | f69bbbbdd2fcf2e7939aa9afc070320778df4b43 (diff) | |
download | bcm5719-llvm-257fcd9b17119455a02f965b95200a286435e942.tar.gz bcm5719-llvm-257fcd9b17119455a02f965b95200a286435e942.zip |
[lldb] [MainLoop] Remove redundant termination clause (NFCI)
Remove the redundant termination clause from within the loop. Since
the check is done at the end of the loop, it's entirely redundant
to the 'while' condition. If termination was requested, the latter
will become false and the 'while' loop will terminate, resulting
in the 'return' statement below the loop being executed (which is
equivalent to the one used inside 'if').
Differential Revision: https://reviews.llvm.org/D58227
llvm-svn: 354050
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions