Use clang-tidy to simplify boolean conditional return statements.
Diff Detail
Diff Detail
Event Timeline
lib/Target/ARM/ARMFrameLowering.cpp | ||
---|---|---|
111–112 | This should really be aligned right after the opening parenthese on the previous line. That's really probably true of many of these patches, but it looks particularly bad here. | |
lib/Target/ARM/ARMISelLowering.cpp | ||
5127 | Push negate through | |
5160 | Push negate through | |
10449–10450 | Push negate through and use != and &&. Align second line after the return. | |
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
1263 ↗ | (On Diff #26406) | Push the negate through this expression and all the similar ones below. |
lib/Target/ARM/ARMFrameLowering.cpp | ||
---|---|---|
111–112 | Fixed. I forgot to run clang-format on these before posting them; I'm doing that now. | |
lib/Target/ARM/ARMISelLowering.cpp | ||
5127 | Fixed. | |
5160 | Fixed. | |
10449–10450 | Fixed. | |
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
1263 ↗ | (On Diff #26406) | Fixed. |
This should really be aligned right after the opening parenthese on the previous line. That's really probably true of many of these patches, but it looks particularly bad here.