[cfe-dev] static_cast and dynamic_cast semantic checks

Doug Gregor doug.gregor at gmail.com
Thu Oct 30 15:02:00 PDT 2008


On Thu, Oct 30, 2008 at 5:53 PM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
> Doug Gregor wrote:
>>
>> Hmmm... actually, I think I'd prefer if errors that involve both
>> source and destination always marked the whole cast expression. It
>> doesn't matter much in a terminal, but in an IDE it would be really
>> nice for the whole erroneous express to be marked.
>>
>
> OK, I'll do that for all the cast errors once I get my current work in.

Okay. You can go ahead and commit that directly; no need to post it here first.

> Here's the updated version of the patch, now with virtual detection via
> BasePaths. Note that I use CXXRecordType in a few places, so if you commit
> your work there, this patch will be invalidated.

This looks good. Go ahead and commit at your leisure. Thanks!

  - Doug



More information about the cfe-dev mailing list