[cfe-dev] static_cast and dynamic_cast semantic checks
Sebastian Redl
sebastian.redl at getdesigned.at
Thu Oct 30 14:53:49 PDT 2008
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.
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.
Sebastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cast.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20081030/737a6dfb/attachment.ksh>
More information about the cfe-dev
mailing list