[patch] qualifiers not stripped from pseudodestructor call

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] qualifiers not stripped from pseudodestructor call

troy d. straszheim
Patch attached...   clang incorrectly errors on a call to

   ptr->T::~T()

if ptr is e.g. of type const volatile *T

-t


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

pseudodestructor.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch] qualifiers not stripped from pseudodestructor call

John McCall
On Jun 11, 2010, at 5:49 AM, troy d. straszheim wrote:
> Patch attached...   clang incorrectly errors on a call to
>
>  ptr->T::~T()
>
> if ptr is e.g. of type const volatile *T

Committed in r105823, thanks!

John.
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev