This is an archive of the discontinued LLVM Phabricator instance.

sanitizer_common: add FALLTHROUGH macro
ClosedPublic

Authored by dvyukov on Aug 9 2021, 12:49 AM.

Details

Summary

Add FALLTHROUGH portably defined to [[clang::fallthrough]].
We have -Wimplicit-fallthrough already enabled, and currently
it's not possible to fix the warning.

Depends on D107735.

Diff Detail

Event Timeline

dvyukov requested review of this revision.Aug 9 2021, 12:49 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 9 2021, 12:49 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Aug 9 2021, 3:52 AM
This revision is now accepted and ready to land.Aug 9 2021, 3:52 AM
dvyukov updated this revision to Diff 365237.Aug 9 2021, 11:45 AM

changed SelectMapping to use template Arg and rebased

This revision was automatically updated to reflect the committed changes.