[PATCH] D75572: [Sema][SVE] Reject sizeof and alignof for sizeless types

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 16:07:47 PST 2020


efriedma added a comment.

The planned changes to RequireCompleteType should catch this, right?  If we want a specialized diagnostic for sizeless types in RequireCompleteType, we should probably just pass it to RequireCompleteType.  (Otherwise, you'll end up with the "wrong" diagnostic in templates.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75572





More information about the cfe-commits mailing list