[cfe-dev] -Wtautological-constant-compare issues

Richard Smith via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 16 09:38:16 PST 2018


Yes, I'd prefer to take this warning out of -Wextra at least for Clang 6.
Hopefully we can find good heuristics to suppress the false positives for
Clang 7 and then re-enable it.

On 16 January 2018 at 09:35, Nico Weber via cfe-dev <cfe-dev at lists.llvm.org>
wrote:

> Wait, wasn't the consensus here to leave the warning out of -Wextra too?
> Looks like r321691 got that wrong?
>
> On Tue, Jan 16, 2018 at 12:04 PM, via cfe-dev <cfe-dev at lists.llvm.org>
> wrote:
>
>> > -----Original Message-----
>> > From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Hans
>> > Wennborg via cfe-dev
>> > Sent: Tuesday, January 16, 2018 8:01 AM
>> > To: Roman Lebedev <lebedev.ri at gmail.com>
>> > Cc: Marshall Clow <mclow.lists at gmail.com>; Richard Smith <richard-
>> > llvm at metafoo.co.uk>; cfe-dev at lists.llvm.org; John McCall
>> > <rjmccall at gmail.com>
>> > Subject: Re: [cfe-dev] -Wtautological-constant-compare issues
>> >
>> ...
>> > >>
>> > >> Apologies for coming late to the thread.
>> > > No problem.
>> > >
>> > >> What's the status here? Did everything land, and should we merge
>> > r321691 to 6.0?
>> > > It landed before branching. I see r321691 in release_60 branch.
>> > > So nothing do be done here.
>> >
>> > Ah, right. Thanks for checking! Sorry for the noise.
>> >
>>
>> Can we consider https://reviews.llvm.org/D41727 for inclusion in master
>> and possibly release_60?
>>
>> -Brian
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180116/f40eacef/attachment.html>


More information about the cfe-dev mailing list