[PATCH] Warning on unevaluated expression contexts with side effects
Aaron Ballman
aaron at aaronballman.com
Fri Dec 19 07:05:27 PST 2014
On Thu, Dec 18, 2014 at 8:30 PM, Richard Trieu <rtrieu at google.com> wrote:
> Looks good to me.
Thanks! Committed as r224578
~Aaron
>
> On Thu, Dec 18, 2014 at 6:07 AM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>>
>> On Wed, Dec 17, 2014 at 10:37 PM, Richard Trieu <rtrieu at google.com> wrote:
>> > I am seeing a lot of new diagnostics from the evaluated in a typeid
>> > warning.
>> > I think that it should be split off to its own sub-group.
>>
>> How about something like the attached patch? It goes a bit further and
>> gives control over both potentially evaluated and unevaluated
>> expression contexts, while keeping it part of -Wunused-value.
>>
>> ~Aaron
>
>
More information about the cfe-commits
mailing list