[cfe-commits] [patch] __has_trivial_* type traits
John McCall
rjmccall at apple.com
Thu Jul 23 15:02:03 PDT 2009
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.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090723/968845e6/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090723/968845e6/attachment.txt>
More information about the cfe-commits
mailing list