[PATCH] D76088: [Sema][SVE] Don't allow sizeless objects to be thrown

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 13:34:23 PDT 2020


efriedma added a comment.

We already have a special case for void* here; it's trivial to extend that to also check for sizeless types. I don't want to add weird semantic restrictions just to save a few characters in the compiler.

I agree that most people won't run into it either way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76088





More information about the cfe-commits mailing list