[libcxx] Disable -Wconstant-evaluated for testsuite
authorDávid Bolvanský <david.bolvansky@gmail.com>
Fri, 1 Nov 2019 12:46:05 +0000 (13:46 +0100)
committerDávid Bolvanský <david.bolvansky@gmail.com>
Fri, 1 Nov 2019 12:46:47 +0000 (13:46 +0100)
Reviewers: EricWF

Subscribers: christof, ldionne, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D69708

libcxx/utils/libcxx/test/config.py

index 5cc16e1..07657ea 100644 (file)
@@ -915,6 +915,7 @@ class Configuration(object):
         self.cxx.addWarningFlagIfSupported('-Wshadow')
         self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
         self.cxx.addWarningFlagIfSupported('-Wno-attributes')
+        self.cxx.addWarningFlagIfSupported('-Wno-constant-evaluated')
         self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')
         self.cxx.addWarningFlagIfSupported('-Wno-c++11-extensions')
         self.cxx.addWarningFlagIfSupported('-Wno-user-defined-literals')