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

Elad Cohen via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 27 12:22:06 PDT 2016


eladcohen added inline comments.

================
Comment at: lib/Headers/module.modulemap:66
@@ -65,2 +65,3 @@
     explicit module mm_malloc {
+      requires !freestanding
       header "mm_malloc.h"
----------------
rsmith wrote:
> Are there more parts of the intrinsics modules to which this should be applied?
Not that I'm aware of. A "STDC_HOSTED" grep on the intrinsics modules header files didn't find anything other than mm_malloc.h.


https://reviews.llvm.org/D23871





More information about the cfe-commits mailing list