[PATCH] D23871: [Modules] Add 'freestanding' to the 'requires-declaration' feature-list.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 14:49:42 PDT 2016


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Makes sense to me. I imagine this would also be useful for libc++.


================
Comment at: lib/Headers/module.modulemap:66
@@ -65,2 +65,3 @@
     explicit module mm_malloc {
+      requires !freestanding
       header "mm_malloc.h"
----------------
Are there more parts of the intrinsics modules to which this should be applied?


https://reviews.llvm.org/D23871





More information about the cfe-commits mailing list