summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-02-14 18:51:21 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-02-14 18:51:21 +0000
commit257fcd9b17119455a02f965b95200a286435e942 (patch)
tree9cd4144ddc9f7ef34dd32d5762750fe499c601e8 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parentf69bbbbdd2fcf2e7939aa9afc070320778df4b43 (diff)
downloadbcm5719-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/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud