This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Avoid generating switch with just default
ClosedPublic

Authored by dstuttard on Jun 2 2020, 11:17 AM.

Details

Summary

Switch with just default causes an MSVC warning (warning C4065: switch statement
contains 'default' but no 'case' labels).

Change-Id: I9ddeccdef93666256b5454b164b567b73b488461

Diff Detail

Event Timeline

dstuttard created this revision.Jun 2 2020, 11:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 11:17 AM
This revision is now accepted and ready to land.Jun 2 2020, 11:34 AM
This revision was automatically updated to reflect the committed changes.