On 09/21/2011 03:11 PM, Douglas Gregor wrote:
>
> On Sep 20, 2011, at 7:50 PM, Richard Trieu wrote:
[...]
>> --- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
>> +++ cfe/trunk/lib/Sema/SemaExpr.cpp Tue Sep 20 21:50:14 2011
>> @@ -8936,7 +8936,7 @@
>> else if (pw == Context.getTargetInfo().getLongLongWidth())
>> Ty = Context.LongLongTy;
>> else {
>> - assert(!"I don't know size of pointer!");
>> + assert(0&& "I don't know size of pointer!");
>> Ty = Context.IntTy;
>
> Just use llvm_unreachable?
Also, the 'Ty = Context.IntTy' seems to be dead code.
Tobi
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits