Use clang-tidy to simplify boolean conditional return statements.
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 | ||
4942 | Push negate through | |
4966 | Push negate through | |
10055–10056 | Push negate through and use != and &&. Align second line after the return. | |
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
1263–1264 | 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 | ||
4942 | Fixed. | |
4966 | Fixed. | |
10055–10056 | Fixed. | |
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | ||
1263–1264 | 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.