llvm-project/clang-tools-extra/test/clang-tidy
Adam Balogh 70f4c6e7b1 [clan-tidy] Fix false positive in bugprone-infinite-loop
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
2020-01-27 10:13:55 +01:00
..
Inputs/bugprone-not-null-terminated-result [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 4 2019-10-13 10:59:30 +00:00
checkers [clan-tidy] Fix false positive in bugprone-infinite-loop 2020-01-27 10:13:55 +01:00
infrastructure Revert "[Support] make report_fatal_error `abort` instead of `exit`" 2020-01-15 17:52:25 -08:00
bugprone-bad-signal-to-kill-thread.cpp [clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias cert-pos44-c 2019-11-11 17:47:14 +01:00
bugprone-not-null-terminated-result-in-initialization-strlen.c [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-not-null-terminated-result-memcpy-before-safe.c [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-not-null-terminated-result-memcpy-safe-cxx.cpp [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-not-null-terminated-result-memcpy-safe-other.c [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-not-null-terminated-result-memcpy-safe.c [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-not-null-terminated-result-strlen.c [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 3 2019-10-13 10:41:13 +00:00
bugprone-not-null-terminated-result-wcslen.cpp [clang-tidy] bugprone-not-null-terminated-result: checker adjustments 3 2019-10-13 10:41:13 +00:00
bugprone-not-null-terminated-result-wmemcpy-safe-cxx.cpp [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length 2019-10-13 08:28:27 +00:00
bugprone-suspicious-semicolon-constexpr.cpp [clang-tidy] Fix PR35824 2019-11-27 11:07:16 -08:00
check_clang_tidy.py Moved -fblocks from an individual test to check_clang_tidy.py 2019-09-27 10:54:28 +00:00
readability-magic-numbers-userliteral.cpp Magic number checker shouldn't warn on user defined string literals 2019-12-09 13:13:26 -05:00
readability-make-member-function-const.cpp [clang-tidy] Add readability-make-member-function-const 2019-11-06 09:27:02 +01:00
readability-redundant-access-specifiers-check-first-declaration.cpp Add the readability-redundant-access-specifiers check. 2019-10-30 13:30:57 -04:00
readability-redundant-access-specifiers.cpp Add the readability-redundant-access-specifiers check. 2019-10-30 13:30:57 -04:00