[PATCH] D107933: [clang] Expose unreachable fallthrough annotation warning

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 12 11:37:19 PDT 2021


xbolva00 added a comment.

GCC does not warn (with common -Wall) for this case, right? I think Clang should not as well.

ImplicitFallthroughUnreachable could be enabled with -Wunreachable-code, if you think we should have it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107933/new/

https://reviews.llvm.org/D107933



More information about the cfe-commits mailing list