Files
clang-p2996/clang/lib/Analysis/ExprMutationAnalyzer.cpp
Julian Schmidt a3d76b3fa3 [clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (#70559)
The `ExprMutationAnalyzer`s matcher of `binaryOperator`s
that contained the variable expr, were previously narrowing the
variable to be type dependent, when the `binaryOperator` should
have been narrowed as dependent.
The variable we are trying to find mutations for does
not need to be the dependent type, the other operand of
the `binaryOperator` could be dependent.

Fixes #57297
2023-11-14 23:00:18 +01:00

28 KiB