This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Eliminate dead code in ParseForeachDeclaration [NFC]
ClosedPublic

Authored by Paul-C-Anagnostopoulos on Jun 8 2021, 8:55 AM.

Details

Summary

This little patch eliminates some dead code in ParseForEachDeclaration. It tested the TI variable for non-null, but after the function already returned on non-null.

Diff Detail

Event Timeline

Paul-C-Anagnostopoulos requested review of this revision.Jun 8 2021, 8:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2021, 8:55 AM
RKSimon accepted this revision.Jun 8 2021, 9:24 AM

LGTM - cheers

This revision is now accepted and ready to land.Jun 8 2021, 9:24 AM
This revision was landed with ongoing or failed builds.Jun 10 2021, 7:36 AM
This revision was automatically updated to reflect the committed changes.