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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 09:13:04 PST 2018


lebedev.ri added inline comments.


================
Comment at: libcxx/utils/libcxx/test/config.py:904
+
+        if self.cxx.hasWarningFlag('-Wno-tautological-type-limit-compare'):
+            self.cxx.warning_flags += ['-Wno-tautological-type-limit-compare',]
----------------
Why not `self.cxx.addWarningFlagIfSupported('-Wno-tautological-type-limit-compare')`, like seen on the next lines ?


Repository:
  rL LLVM

https://reviews.llvm.org/D41727





More information about the llvm-commits mailing list