On Jun 22, 2010, at 4:07 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Tue Jun 22 18:07:26 2010
> New Revision: 106595
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=106595&view=rev
> Log:
> Type Type::isRealFloatingType() that vectors are not floating-point
> types, updating callers of both isFloatingType() and
> isRealFloatingType() accordingly. Caught at least one issue where we
> allowed one to declare a vector of vectors (!), along with cleaning up
> the standard-conversion logic for C++.

Nice!

> 
> +
> +typedef __attribute__(( ext_vector_type(2) )) float2 vecfloat2; // 
> expected-error{{invalid vector type 'float2'}}


Should this be "invalid vector *element* type"?

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to