forked from OSchip/llvm-project
70f4c6e7b1
The checker bugprone-infinite-loop does not track changes of variables in the initialization expression of a variable declared inside the condition of the while statement. This leads to false positives, similarly to the one in the bug report https://bugs.llvm.org/show_bug.cgi?id=44618. This patch fixes this issue by enabling tracking of the variables of this expression as well. Differential Revision: https://reviews.llvm.org/D73270 |
||
---|---|---|
.. | ||
Inputs/bugprone-not-null-terminated-result | ||
checkers | ||
infrastructure | ||
bugprone-bad-signal-to-kill-thread.cpp | ||
bugprone-not-null-terminated-result-in-initialization-strlen.c | ||
bugprone-not-null-terminated-result-memcpy-before-safe.c | ||
bugprone-not-null-terminated-result-memcpy-safe-cxx.cpp | ||
bugprone-not-null-terminated-result-memcpy-safe-other.c | ||
bugprone-not-null-terminated-result-memcpy-safe.c | ||
bugprone-not-null-terminated-result-strlen.c | ||
bugprone-not-null-terminated-result-wcslen.cpp | ||
bugprone-not-null-terminated-result-wmemcpy-safe-cxx.cpp | ||
bugprone-suspicious-semicolon-constexpr.cpp | ||
check_clang_tidy.py | ||
readability-magic-numbers-userliteral.cpp | ||
readability-make-member-function-const.cpp | ||
readability-redundant-access-specifiers-check-first-declaration.cpp | ||
readability-redundant-access-specifiers.cpp |