[PATCH] Enhance clang-tidy readability-simplify-boolean-expr to handle 'if (e) return true; return false; '
legalize at xmission.com
Sun May 24 17:50:01 PDT 2015
When the replacement text is already a negated rexpression, `!expr`, and we're negating it again, use `expr`, not `!!expr` as the replacement.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12951 bytes
Desc: not available
More information about the cfe-commits