Re: [PATCH] D26843: Make sizeof expression context partially evaluated

2016-11-18 Thread Eric Fiselier via cfe-commits
FYI I took the example from the [C++1z standard]( http://eel.is/c++draft/expr.prim.id#2) > [expr.prim.id]p2: > An id-expression that denotes a non-static data member or non-static member function of a class can only > be used [...] if that id-expression denotes a non-static data member and it appe

Re: [PATCH] D26843: Make sizeof expression context partially evaluated

2016-11-18 Thread Paulo Matos via cfe-commits
On 18/11/16 20:30, Aaron Ballman wrote: > On Fri, Nov 18, 2016 at 2:22 PM, Paulo Matos via cfe-commits > 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

Re: [PATCH] D26843: Make sizeof expression context partially evaluated

2016-11-18 Thread Aaron Ballman via cfe-commits
On Fri, Nov 18, 2016 at 2:22 PM, Paulo Matos via cfe-commits 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