Use clang-tidy to simplify boolean conditional return statements.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Analysis/CaptureTracking.cpp | ||
---|---|---|
127 | Push negate through and indent second line to start after 'return' so it aligns better with the expression part of the first line. | |
lib/Analysis/InstructionSimplify.cpp | ||
127 ↗ | (On Diff #26393) | Fix indentation to align with where the expression starts on previous line. |
Comment Actions
LGTM, should I check this in for you?
How would you like to be credited? I was going to go with "Patch by Richard!", but please let me know if you'd prefer something else.
Push negate through and indent second line to start after 'return' so it aligns better with the expression part of the first line.