summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/command/source
diff options
context:
space:
mode:
authorAdam Balogh <adam.balogh@ericsson.com>2019-09-24 07:43:26 +0000
committerAdam Balogh <adam.balogh@ericsson.com>2019-09-24 07:43:26 +0000
commit54b78f3bb6789941fec2c5898828803592e97a11 (patch)
tree8990f577a15f945f59eefbc8a16bab323c6a3fff /lldb/packages/Python/lldbsuite/test/commands/command/source
parentef06dd4328b4ddddaf2fccd453d6ac47cf7dba11 (diff)
downloadbcm5719-llvm-54b78f3bb6789941fec2c5898828803592e97a11.tar.gz
bcm5719-llvm-54b78f3bb6789941fec2c5898828803592e97a11.zip
[clang-tidy] New bugprone-infinite-loop check for detecting obvious infinite loops
Finding infinite loops is well-known to be impossible (halting problem). However, it is possible to detect some obvious infinite loops, for example, if the loop condition is not changed. Detecting such loops is beneficial since the tests will hang on programs containing infinite loops so testing-time detection may be costly in large systems. Obvious cases are where the programmer forgets to increment/decrement the counter or increments/decrements the wrong variable. Differential Revision: https://reviews.llvm.org/D64736 llvm-svn: 372693
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/source')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud