[PATCH] D155805: [TableGen][CodeEmitterGen] Emit a default label for getOperandBitOffset()'s OpNum switch

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 03:08:53 PDT 2023


RKSimon requested changes to this revision.
RKSimon added a comment.
This revision now requires changes to proceed.

Sorry, this just replaces the warning with:

  warning C4065: switch statement contains 'default' but no 'case' labels

You're going to have to avoid emitting empty cases entirely.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155805



More information about the llvm-commits mailing list