[PATCH] D41727: [libcxx] Disable tautological-type-limit-compare warning

Brian Cain via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 09:09:51 PST 2018


bcain added a comment.

In https://reviews.llvm.org/D41727#967371, @lebedev.ri wrote:

> Note that it won't help for the cases where `libc++` is **used**, and `-Wextra -Wsystem-headers` is specified.


I think that's acceptable and I think we should have known/expected that as of the change to clang.

The only real way to mitigate that is with a local pragma to disable the warning for those spots, correct?  And I believe that had been proposed and rejected before.


Repository:
  rL LLVM

https://reviews.llvm.org/D41727





More information about the llvm-commits mailing list