[cfe-commits] r92318 - /cfe/trunk/lib/AST/ASTContext.cpp
Chris Lattner
clattner at apple.com
Mon Jan 4 23:55:27 PST 2010
On Jan 4, 2010, at 10:53 PM, Chandler Carruth wrote:
>>
>> Sorry, I didn't quite understand your point. We are already asserting the
>> QualType T is canonical on the entry to the method.
>>
>> The patch makes sure the element type is canonical when we pass it to the
>> method getUnqualifiedArrayType().
>
> I think what Chris is getting at is that the element type should
> already be canonical if the array type is canonical (by my reading of
> getCanonicalType)?
Right, if an arraytype is canonical, then its element is guaranteed to be canonical.
-Chris
More information about the cfe-commits
mailing list