[clang] [clang-tools-extra] [analyzer] Remove alpha.core.IdenticalExpr Checker (PR #114715)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 11:01:50 PST 2024
================
@@ -32,9 +32,28 @@ If this is the intended behavior, then there is no reason to use a conditional
statement; otherwise the issue can be solved by fixing the branch that is
handled incorrectly.
-The check also detects repeated branches in longer ``if/else if/else`` chains
+The check detects repeated branches in longer ``if/else if/else`` chains
where it would be even harder to notice the problem.
+The check also detects repeated inner and outer if statements that may
+be a result of a copy-paste error. This check cannot currently detect
+identical inner and outer if statements if code is between the if
----------------
5chmidti wrote:
```
``if`` statements
```
https://github.com/llvm/llvm-project/pull/114715
More information about the cfe-commits
mailing list