[cfe-commits] [patch] __has_trivial_* type traits
Douglas Gregor
dgregor at apple.com
Thu Jul 23 16:50:48 PDT 2009
On Jul 23, 2009, at 3:02 PM, John McCall wrote:
> John McCall wrote:
>>
>> Douglas Gregor wrote:
>>
>>> Why does this operation strip off the qualifiers? Most of the
>>> callers
>>> of this routine don't mind if the result type is qualified, and the
>>> UTT_HasTrivialAssign computation would be far easier if this routine
>>> maintained the qualifiers.
>>>
>>
>> Well, there are qualifiers and then there are qualifiers. I did
>> initially have an implementation which just collected the CVR
>> qualifiers
>> as it tore down, but it wasn't able to handle the extended
>> qualifiers,
>> and I didn't have an ASTContext to work with. Of course, I should
>> have
>> just found a way to get a context; I'll do that and resubmit.
>>
>
> And here it is.
Looks great! Committed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090720/019499.html
- Doug
More information about the cfe-commits
mailing list