[PATCH] D72271: [Clang] Handle target-specific builtins returning aggregates.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 8 10:21:26 PST 2020


rjmccall added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:4351
+    default:
+      llvm_unreachable("Bad evaluation kind in EmitBuiltinExpr");
+    }
----------------
We generally don't add `default` cases to exhaustive switches.  You can put this `llvm_unreachable` after the switch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72271





More information about the cfe-commits mailing list