[cfe-commits] [PATCH] PR13824 warn if reinterpret_cast used for up/downcast
Jordan Rose
jordan_rose at apple.com
Thu Mar 14 09:48:51 PDT 2013
On Mar 14, 2013, at 8:47 , Alexander Zinenko <ftynse at gmail.com> wrote:
> Hello John,
>
> Thanks for review!
>
> I attached a quiet version of a patch that doesn't warn if any of the paths is a non-virtually-derived base at offset zero.
> During first iteration, Jordan proposed to make a separate switch to enable a noisy version that warns even if the cast is safe, though.
*sigh* Yes, I did. Personally I think it's still bad style. But I won't push it.
Jordan
More information about the cfe-commits
mailing list