This is an archive of the discontinued LLVM Phabricator instance.

Refactor: Simplify boolean conditional return statements in llvm/lib/IR
AbandonedPublic

Authored by LegalizeAdulthood on May 25 2015, 12:02 AM.

Details

Summary

Use clang-tidy to simplify boolean conditional return statements

Diff Detail

Event Timeline

LegalizeAdulthood retitled this revision from to Refactor: Simplify boolean conditional return statements in llvm/lib/IR.
LegalizeAdulthood updated this object.
LegalizeAdulthood edited the test plan for this revision. (Show Details)
LegalizeAdulthood added a subscriber: Unknown Object (MLST).
craig.topper added inline comments.May 25 2015, 12:05 AM
lib/IR/Instructions.cpp
1696

Push the negate through

2927

Push the negate through

lib/IR/Verifier.cpp
1520–1522

Operators should go on end of previous lines.

lib/IR/Instructions.cpp
1696

Fixed.

2927

Fixed.

lib/IR/Verifier.cpp
1520–1522

Fixed.

Update from comments, run clang-format

reames removed a reviewer: reames.Jun 15 2015, 4:35 PM

Update from latest
I do not have commit access.

LegalizeAdulthood abandoned this revision.Feb 19 2016, 9:20 AM