[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

Louis Dionne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 9 09:33:52 PST 2024


================
@@ -223,6 +283,12 @@ class CxxStandardLibraryTest(lit.formats.FileBasedTest):
             allows adding special compilation flags without having to use a
             .sh.cpp test, which would be more powerful but perhaps overkill.
 
+        // MODULE: std std.compat
+
+           This directive will build the required C++23 standard library
+           modules and add the additional compiler flags in
+           %{module_flags}. (Libc++ offers these modules in C++20 as an
----------------
ldionne wrote:

And this documentation will need to be updated.

https://github.com/llvm/llvm-project/pull/76246


More information about the llvm-branch-commits mailing list