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

Brian Cain via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 09:50:16 PST 2018


bcain updated this revision to Diff 130431.
bcain added a comment.
Herald added a subscriber: cfe-commits.

Changed per review


Repository:
  rCXX libc++

https://reviews.llvm.org/D41727

Files:
  libcxx/utils/libcxx/test/config.py


Index: libcxx/utils/libcxx/test/config.py
===================================================================
--- libcxx/utils/libcxx/test/config.py
+++ libcxx/utils/libcxx/test/config.py
@@ -903,6 +903,7 @@
         if self.cxx.hasWarningFlag('-Wuser-defined-warnings'):
             self.cxx.warning_flags += ['-Wuser-defined-warnings']
             self.config.available_features.add('diagnose-if-support')
+        self.cxx.addWarningFlagIfSupported('-Wno-tautological-type-limit-compare')
         self.cxx.addWarningFlagIfSupported('-Wshadow')
         self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
         self.cxx.addWarningFlagIfSupported('-Wno-attributes')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41727.130431.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180118/3fd1144f/attachment.bin>


More information about the llvm-commits mailing list