[cfe-commits] r142179 - in /cfe/trunk: lib/Sema/SemaExpr.cpp test/Sema/offsetof.c

Richard Smith richard at metafoo.co.uk
Mon Oct 17 16:32:30 PDT 2011


On Mon, October 17, 2011 18:12, John McCall wrote:
> On Oct 16, 2011, at 10:48 PM, Richard Smith wrote:
>
>> Author: rsmith
>> Date: Mon Oct 17 00:48:07 2011
>> New Revision: 142179
>>
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=142179&view=rev
>> Log:
>> Perform an lvalue-to-rvalue conversion on an array index in a
>> __builtin_offsetof expression.
>>
>
> For correctness with placeholders, we should do these conversions before
> type-checking.

Thanks, in r142308.

Richard




More information about the cfe-commits mailing list