[libcxx-commits] [libcxx] 566b52d - [libc++] Disable test that we use -Werror in C++03

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 1 10:12:16 PDT 2020


Author: Louis Dionne
Date: 2020-05-01T13:12:07-04:00
New Revision: 566b52da8b35d66ca2965cc111c104ef429b90b4

URL: https://github.com/llvm/llvm-project/commit/566b52da8b35d66ca2965cc111c104ef429b90b4
DIFF: https://github.com/llvm/llvm-project/commit/566b52da8b35d66ca2965cc111c104ef429b90b4.diff

LOG: [libc++] Disable test that we use -Werror in C++03

Added: 
    

Modified: 
    libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp
    libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp b/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp
index 31b7453164ea..ee82c613153a 100644
--- a/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp
+++ b/libcxx/test/libcxx/selftest/newformat/pass.cpp/werror.pass.cpp
@@ -17,6 +17,9 @@
 // TODO: We don't enable -Werror on GCC right now, because too many tests fail.
 // UNSUPPORTED: gcc
 
+// TODO(ldionne): We don't enable -Werror in C++03 right now
+// UNSUPPORTED: c++98, c++03
+
 int main() {
     int foo;
 }

diff  --git a/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp b/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp
index 5b84275bf687..eb115ed2fb22 100644
--- a/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp
+++ b/libcxx/test/libcxx/selftest/newformat/sh.cpp/werror.sh.cpp
@@ -14,6 +14,9 @@
 // TODO: We don't enable -Werror on GCC right now, because too many tests fail.
 // UNSUPPORTED: gcc
 
+// TODO(ldionne): We don't enable -Werror in C++03 right now
+// UNSUPPORTED: c++98, c++03
+
 // FILE_DEPENDENCIES: %t.exe
 // RUN: %{build} -Wunused-variable
 // RUN: %{run}


        


More information about the libcxx-commits mailing list