[libcxx] r288755 - Fix C++03 modules build

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 5 17:34:24 PST 2016


Author: ericwf
Date: Mon Dec  5 19:34:24 2016
New Revision: 288755

URL: http://llvm.org/viewvc/llvm-project?rev=288755&view=rev
Log:
Fix C++03 modules build

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=288755&r1=288754&r2=288755&view=diff
==============================================================================
--- libcxx/trunk/include/module.modulemap (original)
+++ libcxx/trunk/include/module.modulemap Mon Dec  5 19:34:24 2016
@@ -483,6 +483,8 @@ module std [system] {
   module __undef___deallocate { header "__undef___deallocate" export * }
 
   module experimental {
+    requires cplusplus11
+
     module algorithm {
       header "experimental/algorithm"
       export *




More information about the cfe-commits mailing list