Use clang-tidy to simplify boolean conditional return statements
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think some of the cases are less readable this way, but don't seriously object. Overall LGTM.
Comment Actions
I have only one nit inline. Once that's fixed I'm happy to check this in on your behalf.
lib/Transforms/Scalar/EarlyCSE.cpp | ||
---|---|---|
218 | This one should be "de-morganized" to return CI && CI->onlyReadsMemory(); |
This one should be "de-morganized" to return CI && CI->onlyReadsMemory();