[PATCH] D146466: [clang] diagnose function fallthrough

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 20 16:06:16 PDT 2023


nickdesaulniers added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/function-fallthrough.ll:7
+entry:
+  unreachable
+}
----------------
TODO: add test that the final MBB is a call to a noreturn function followed by unreachable


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146466



More information about the cfe-commits mailing list