The core.alpha.IdenticalExpr checker warns when some expressions are identical. For example when a if condition and else if condition are identical there is a warning.
This patch makes Clang warn also when an inner if condition is identical to the outer if condition.
Could you say /*IgnoreSideEffects=*/ false for the last param, so it's more obvious that conditions with side effects are not considered?