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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to