[PATCH] D26843: Make sizeof expression context partially evaluated

Paulo Matos via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 18 11:52:27 PST 2016



On 18/11/16 20:30, Aaron Ballman wrote:
> On Fri, Nov 18, 2016 at 2:22 PM, Paulo Matos via cfe-commits
> <cfe-commits at lists.llvm.org> wrote:
>> pmatos added a comment.
>>
>> Apologies if I am being shallow and wasting your time but `sizeof(T::m)` doesn't compile at the moment with clang trunk. Using the same service you used before <http://melpon.org/wandbox/permlink/C4pCnoVGmS0qBUxf>.
> 
> Compile for C++11 instead of C++03.
> 

OK, I can see the problem. Interestingly, the error you get with the
patch and c++11 is the same you used to get with c++03.

I will take a look at this.

-- 
Paulo Matos


More information about the cfe-commits mailing list