This is an archive of the discontinued LLVM Phabricator instance.

Remove unnecessary conditionals around errors.
AbandonedPublic

Authored by Roger on Nov 6 2021, 5:04 PM.

Details

Reviewers
jhenderson
Summary

The existing code has unnecessary logic to indirectly pass
errors through function calls. This diff gets rid of the fluff.

Test Plan: Existing unit tests

Diff Detail

Event Timeline

Roger requested review of this revision.Nov 6 2021, 5:04 PM
Roger created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2021, 5:04 PM
Roger updated this revision to Diff 385303.Nov 6 2021, 5:09 PM

Removing unnecessary else statements.

Roger abandoned this revision.Nov 6 2021, 5:11 PM
This comment was removed by tstellar.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2023, 7:36 PM