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
5 lines
131 B
Plaintext
5 lines
131 B
Plaintext
module libc [no_undeclared_includes] {
|
|
module math { header "math.h" export * }
|
|
module stdlib { header "stdlib.h" export * }
|
|
}
|