Add support for binary function calls in suspicious_operation_groupings lint #6474
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
#6086 introduced
suspicious_operation_groupings
that made us find a binop issue in Gstreamer. In addition toif
statements in #6275 it'd be nice to support binary function call chains likecmp
as well, which suffered the same issue:The expressions are separated by
then_with
and closures instead of a simple&&
binary op so this might be quite a stretch.The text was updated successfully, but these errors were encountered: