This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Assign new flag -Wenum-compare-switch to switch-related parts of -Wenum-compare
ClosedPublic

Authored by rnkovacs on Aug 9 2017, 8:43 AM.

Details

Summary

This patch assigns switch-related parts of the -Wenum-compare diagnostic to a new flag -Wenum-compare-switch.

-Wenum-compare-switch is put into the same group as -Wenum-compare so that -W(no-)enum-compare affects both.

Diff Detail

Repository
rL LLVM

Event Timeline

rnkovacs created this revision.Aug 9 2017, 8:43 AM
This revision is now accepted and ready to land.Aug 9 2017, 1:08 PM
thakis accepted this revision.Aug 9 2017, 1:56 PM

Thanks!

This revision was automatically updated to reflect the committed changes.