Files
clang-p2996/clang/test/Modules/Inputs/libc-libcxx/include/module.modulemap
Bruno Cardoso Lopes ed84df008f [Modules] Add 'no_undeclared_includes' module map attribute
The 'no_undeclared_includes' attribute should be used in a module to
tell that only non-modular headers and headers from used modules are
accepted.

The main motivation behind this is to prevent dep cycles between system
libraries (such as darwin) and libc++.

Patch by Richard Smith!

llvm-svn: 284797
2016-10-21 01:41:56 +00:00

5 lines
131 B
Plaintext

module libc [no_undeclared_includes] {
module math { header "math.h" export * }
module stdlib { header "stdlib.h" export * }
}