================
@@ -203,9 +203,13 @@ infrastructure are described first, followed by
tool-specific sections.
the pointer points to an incomplete (forward-declared) type.
- Improved {doc}`bugprone-redundant-branch-condition
- <clang-tidy/checks/bugprone/redundant-branch-condition>` check by fixing
- false positives when the condition variable is changed later in a loop that
- encloses the inner `if`.
+ <clang-tidy/checks/bugprone/redundant-branch-condition>` check:
+
+ - Fixed false positives when the condition variable is changed later in a
loop that
+ encloses the inner `if`.
+
+ - Fixed false negatives when two variables are present on both sides
----------------
zeyi2 wrote:
My suggestion:
```suggestion
- Fixed false negatives when a nested `if` checks the second operand
of an outer `&&` condition, as in `if (x && y) { if (y) ... }`.
```
(If this looks good to you, you can apply the two suggestions directly on
GitHub without making any local changes.)
https://github.com/llvm/llvm-project/pull/230846
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits