EricWF created this revision.
EricWF added reviewers: rsmith, mclow.lists.
EricWF added a subscriber: cfe-commits.

This patch does two things:

- Allow `std.strstream` to used in C++11. This is needed to get the libc++ test 
suite passing with modules enabled.  Also enforcing that strstream is not used 
in C++11 seems like non-conforming behavior.

- Remove the C++11 requirement for `std.atomic`. Libc++ implements almost all 
of it in C++03.


https://reviews.llvm.org/D26881

Files:
  include/module.modulemap


Index: include/module.modulemap
===================================================================
--- include/module.modulemap
+++ include/module.modulemap
@@ -210,7 +210,6 @@
   module atomic {
     header "atomic"
     export *
-    requires cplusplus11
   }
   module bitset {
     header "bitset"
@@ -387,7 +386,6 @@
   }
   module strstream {
     header "strstream"
-    requires !cplusplus11
   }
   module system_error {
     header "system_error"


Index: include/module.modulemap
===================================================================
--- include/module.modulemap
+++ include/module.modulemap
@@ -210,7 +210,6 @@
   module atomic {
     header "atomic"
     export *
-    requires cplusplus11
   }
   module bitset {
     header "bitset"
@@ -387,7 +386,6 @@
   }
   module strstream {
     header "strstream"
-    requires !cplusplus11
   }
   module system_error {
     header "system_error"
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to