This is an archive of the discontinued LLVM Phabricator instance.

Refactor: Simplify boolean conditional return statements in lib/Transforms/Instrumentation
ClosedPublic

Authored by LegalizeAdulthood on May 25 2015, 10:38 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 lib/Transforms/Instrumentation.
LegalizeAdulthood updated this object.
LegalizeAdulthood edited the test plan for this revision. (Show Details)
LegalizeAdulthood added a subscriber: Unknown Object (MLST).
eugenis accepted this revision.May 26 2015, 10:40 AM
eugenis edited edge metadata.

LGTM w/ a comment

lib/Transforms/Instrumentation/ThreadSanitizer.cpp
325

Please fold all three simple conditionals into the return statement.

This revision is now accepted and ready to land.May 26 2015, 10:40 AM
LegalizeAdulthood edited edge metadata.

Update from latest
I do not have commit access.

samsonov closed this revision.Oct 26 2015, 11:11 AM
samsonov edited edge metadata.

r251318