This is an archive of the discontinued LLVM Phabricator instance.

Remove extra if case.
ClosedPublic

Authored by akhuang on May 21 2019, 11:42 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

akhuang created this revision.May 21 2019, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2019, 11:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
rnk accepted this revision.May 21 2019, 1:17 PM
rnk added a reviewer: rnk.

lgtm

Testing offline showed that it was impossible to reach the return with a real global variable with an enumeration type.

This revision is now accepted and ready to land.May 21 2019, 1:19 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 22 2019, 8:46 AM