[PATCH] D91895: [Clang] improve -Wimplicit-fallthrough GCC compat

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 18:07:30 PST 2020


nickdesaulniers added a comment.

I'm happy to modify the patch based on feedback from LKML, though

  switch (x) {
    case 0:
      ++x;
    default:
      break;
  }

is the important case that's 99% of the differences between GCC and Clang, which should not get removed from this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91895



More information about the cfe-commits mailing list