summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/libc-libcxx
Commit message (Collapse)AuthorAgeFilesLines
* [Modules] Support #import when entering files with modulesBruno Cardoso Lopes2017-01-119-1/+44
| | | | | | | | | | | | Textual headers and builtins that are #import'd from different modules should get re-entered when these modules are independent from each other. Differential Revision: https://reviews.llvm.org/D26267 rdar://problem/25881934 llvm-svn: 291644
* [Modules] Add testcase for builtins used in umbrella headersBruno Cardoso Lopes2016-10-285-0/+42
| | | | | | | | | | | | | | This used to work before r284797 + r285152, which exposed something interesting; some users include builtins from umbrella headers. Clang should emit a warning to warn users this is not a good practice and umbrella headers shouldn't get the implicitly-add-the-builtin-version behavior for builtin header names. While we're not there, add the testcase to represent the way it currently works. llvm-svn: 285377
* Treat module headers wrapped by our builtin headers as implicitly being textualRichard Smith2016-10-261-1/+0
| | | | | | | | | | headers. We previously got this check backwards and treated the wrapper header as being textual. This is important because our wrapper headers sometimes inject macros into the system headers that they #include_next, and sometimes replace them entirely. llvm-svn: 285152
* Remove non-existing file from modulemap.Benjamin Kramer2016-10-211-1/+0
| | | | | | This picked up a builtin header if it happened to be available. llvm-svn: 284815
* [Modules] Add 'no_undeclared_includes' module map attributeBruno Cardoso Lopes2016-10-2119-0/+96
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
OpenPOWER on IntegriCloud