[PATCH] D34891: Replace assert(0) with llvm_unreachable.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 30 15:35:32 PDT 2017


rsmith added a comment.

You should remove the code after the `assert(0)`, or you'll trigger "unreachable code" warnings.


Repository:
  rL LLVM

https://reviews.llvm.org/D34891





More information about the cfe-commits mailing list