[cfe-commits] r51828 - in /cfe/trunk: lib/Sema/SemaExpr.cpp test/Sema/conditional-expr.m

Steve Naroff snaroff at apple.com
Sat May 31 16:04:45 PDT 2008


On May 31, 2008, at 3:49 PM, Eli Friedman wrote:

> On Sat, May 31, 2008 at 3:33 PM, Steve Naroff <snaroff at apple.com>  
> wrote:
>> FIXME: Do we need an ImpCastExprToType?
>
> Yes, an ImpCastExprToType is necessary.  We've decided that post-Sema,
> both sides of a conditional must have identical type.
>

That's what I thought (I implemented the ImplicitCastExpr many months  
ago).

I will clean this up later...

snaroff

> -Eli




More information about the cfe-commits mailing list