[libcxx-commits] [libcxx] ba95fa0 - [libc++] Fix the std_include.sh.cpp test that has been failing since c9385297ce

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 1 13:32:09 PDT 2021


Author: Louis Dionne
Date: 2021-06-01T16:31:51-04:00
New Revision: ba95fa03ce267fbd59113ae20a4ac251e251be3f

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

LOG: [libc++] Fix the std_include.sh.cpp test that has been failing since c9385297ce

The compiler used on Apple bots doesn't know about -std=c++20 yet, so
we can't use that just yet.

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

Added: 
    

Modified: 
    libcxx/test/libcxx/modules/stds_include.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/modules/stds_include.sh.cpp b/libcxx/test/libcxx/modules/stds_include.sh.cpp
index 98009bc52c52..715ab44d5b27 100644
--- a/libcxx/test/libcxx/modules/stds_include.sh.cpp
+++ b/libcxx/test/libcxx/modules/stds_include.sh.cpp
@@ -15,9 +15,6 @@
 // are not modular
 // XFAIL: LIBCXX-WINDOWS-FIXME
 
-// TEMPORARY HACK UNTIL WE FIGURE OUT WHAT THE ISSUE IS TO AVOID BREAKING ALL CI
-// UNSUPPORTED: apple-clang
-
 // Some headers are not available when these features are disabled, but they
 // still get built as part of the 'std' module, which breaks the build.
 // UNSUPPORTED: libcpp-has-no-threads
@@ -33,7 +30,7 @@
 // RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++11 -DINVALIDATE_CACHE_CXX11 %s
 // RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++14 -DINVALIDATE_CACHE_CXX14 %s
 // RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++17 -DINVALIDATE_CACHE_CXX17 %s
-// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++20 -DINVALIDATE_CACHE_CXX20 %s
+// RUN: %{cxx} %{flags} %{compile_flags} -fmodules -fcxx-modules -fsyntax-only -std=c++2a -DINVALIDATE_CACHE_CXX20 %s
 
 #include <vector>
 


        


More information about the libcxx-commits mailing list