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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 1 10:59:32 PDT 2021


ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103475

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


Index: libcxx/test/libcxx/modules/stds_include.sh.cpp
===================================================================
--- libcxx/test/libcxx/modules/stds_include.sh.cpp
+++ 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>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103475.349024.patch
Type: text/x-patch
Size: 1235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210601/17c2342a/attachment-0001.bin>


More information about the libcxx-commits mailing list