浏览代码

Attempt to enable -Wconversion

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@346451 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 6 年之前
父节点
当前提交
55a3e6c1f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      utils/libcxx/test/config.py

+ 1 - 1
utils/libcxx/test/config.py

@@ -932,7 +932,7 @@ class Configuration(object):
         self.cxx.addWarningFlagIfSupported('-Wunused-parameter')
         self.cxx.addWarningFlagIfSupported('-Wunused-parameter')
         self.cxx.addWarningFlagIfSupported('-Wunreachable-code')
         self.cxx.addWarningFlagIfSupported('-Wunreachable-code')
         # FIXME: Enable the two warnings below.
         # FIXME: Enable the two warnings below.
-        self.cxx.addWarningFlagIfSupported('-Wno-conversion')
+        # self.cxx.addWarningFlagIfSupported('-Wno-conversion')
         self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
         self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
         std = self.get_lit_conf('std', None)
         std = self.get_lit_conf('std', None)
         if std in ['c++98', 'c++03']:
         if std in ['c++98', 'c++03']: