[libcxx] r287693 - Allow libc++ to use modules in C++03.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 22 12:15:39 PST 2016


Author: ericwf
Date: Tue Nov 22 14:15:39 2016
New Revision: 287693

URL: http://llvm.org/viewvc/llvm-project?rev=287693&view=rev
Log:
Allow libc++ to use modules in C++03.

Libc++ internal uses <atomic> in C++03 code but the module map forbids its use.
This causes the libc++ 'std' module to fail to build in C++03.

This patch removes the requirement to fix this issue.

Modified:
    libcxx/trunk/include/module.modulemap

Modified: libcxx/trunk/include/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/module.modulemap?rev=287693&r1=287692&r2=287693&view=diff
==============================================================================
--- libcxx/trunk/include/module.modulemap (original)
+++ libcxx/trunk/include/module.modulemap Tue Nov 22 14:15:39 2016
@@ -213,7 +213,6 @@ module std [system] {
   module atomic {
     header "atomic"
     export *
-    requires cplusplus11
   }
   module bitset {
     header "bitset"




More information about the cfe-commits mailing list