This changeset extends the simplify boolean expression check in clang-tidy to simplify if (e) return true; return false; to return e; (note the lack of an else clause on the if statement.) By default, chained conditional assignment is left unchanged, unless a configuration parameter is set to non-zero to override this behavior.
It also improves the handling of replacement expressions to apply static_cast<bool>(expr) when expr is not of type bool.
nit: parentheses? I didn't find what "parenthesese" is.