[cfe-commits] r71640 - in /cfe/trunk: lib/Sema/SemaDeclAttr.cpp test/Sema/types.c

Chris Lattner clattner at apple.com
Tue May 12 22:39:51 PDT 2009


On May 12, 2009, at 10:23 PM, Eli Friedman wrote:
> On Tue, May 12, 2009 at 10:13 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> Author: lattner
>> Date: Wed May 13 00:13:44 2009
>> New Revision: 71640
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=71640&view=rev
>> Log:
>> Fix rdar://6880951 by rejecting vectors of vectors.
>> It seems dubious to me that isIntegerType() returns true for
>> vectors of integers, but not complex integers.  This should
>> probably be rethought, I'll file a bugzilla.
>
> I think isIntegralType does what you want here.

Yep, it looks like it.  isIntegralType really needs a comment and  
should probably be renamed to isIntegerType :)

-Chris



More information about the cfe-commits mailing list