[PATCH] D63139: [Diagnostics] Implement -Wswitch-unreachable

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 23:02:58 PDT 2019


rjmccall added a comment.

Are the `CaseStmt`s being dropped in C++ because the expression overflows?  I agree that that's bad AST behavior; we should strive to generate AST whenever we can, even if it's not valid.


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

https://reviews.llvm.org/D63139





More information about the cfe-commits mailing list