From ed84df008f609f7245871a9b6d00b57cb19410aa Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Fri, 21 Oct 2016 01:41:56 +0000 Subject: [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 --- clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h (limited to 'clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h') diff --git a/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h b/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h new file mode 100644 index 00000000000..380ab41ca0a --- /dev/null +++ b/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h @@ -0,0 +1 @@ +int abs(int); -- cgit v1.2.3