[PATCH] D39149: [libc++] Prevent tautological comparisons

Brian Cain via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 07:40:45 PST 2017

bcain added a comment.

In https://reviews.llvm.org/D39149#912260, @smeenai wrote:

> I confirmed that these warnings go away with https://reviews.llvm.org/D39462 applied, and they reappear if I manually specify `-Wmaybe-tautological-constant-compare`. Thank you!

Let's resurrect these changes since https://reviews.llvm.org/D39462 was not the right short-term approach.


More information about the cfe-commits mailing list