[PATCH] D47150: [Clang Tablegen] Add default case to getModifierName()

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 21 09:52:03 PDT 2018


rsmith added a comment.

Please instead add an `llvm_unreachable` outside the switch, so that we still get warnings on missing switch cases if an enumerator is added.


https://reviews.llvm.org/D47150





More information about the cfe-commits mailing list