[PATCH] D73967: Implement _ExtInt as an extended int type specifier.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 11:45:10 PST 2020


erichkeane added a comment.

In D73967#1862268 <https://reviews.llvm.org/D73967#1862268>, @rsmith wrote:

> We allow _Complex T for integral types T in general, so this seems inconsistent. Are there problems supporting this? Is it just a parser limitation or something deeper? If there's some reason it doesn't naturally work (as there is for at least non-power-of-two-sized integers in vectors) then rejecting it seems fine.


At the moment it doesn't work because of parsing.  I'm unaware of there is a deeper limitation, but I'll look at it.  I was unaware that we allow integral types for _Complex, I'd looked it up on cppreference and only saw the FP types so I was basically just confused as to what your intent was.  I'll look closer now that I've done the _Atomic limitations.


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

https://reviews.llvm.org/D73967





More information about the cfe-commits mailing list