This is an archive of the discontinued LLVM Phabricator instance.

Refactor: Simplify boolean expressions in ARM target
ClosedPublic

Authored by LegalizeAdulthood on Mar 22 2015, 12:57 PM.

Details

Summary

Simplify boolean expressions using true and false with clang-tidy

Diff Detail

Event Timeline

LegalizeAdulthood retitled this revision from to Refactor: Simplify boolean expressions in ARM target.
LegalizeAdulthood updated this object.
LegalizeAdulthood edited the test plan for this revision. (Show Details)
LegalizeAdulthood added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Mar 22 2015, 2:07 PM
rengolin added a reviewer: rengolin.

Looks good with the comment, thanks!

lib/Target/ARM/AsmParser/ARMAsmParser.cpp
5421

Nitpick, maybe keep the Mnemonic on the next line, so it continues to align with the others.

This revision is now accepted and ready to land.Mar 22 2015, 2:07 PM
LegalizeAdulthood edited edge metadata.

Ran clang-format on modified function

lib/Target/ARM/AsmParser/ARMAsmParser.cpp
5421

Fixed; ran clang-format on the modified function.

Can someone submit this for me please? I don't have commit access. Thanks.

alexfh closed this revision.Apr 14 2015, 8:37 AM
alexfh edited edge metadata.

Committed revision 234901.