[Modules] Support #import when entering files with modulesTextual headers and builtins that are #import'd from differentmodules should get re-entered when these modules are independentfrom each o
[Modules] Support #import when entering files with modulesTextual headers and builtins that are #import'd from differentmodules should get re-entered when these modules are independentfrom each other.Differential Revision: https://reviews.llvm.org/D26267rdar://problem/25881934llvm-svn: 291644
show more ...
[Modules] Add testcase for builtins used in umbrella headersThis used to work before r284797 + r285152, which exposed somethinginteresting; some users include builtins from umbrella headers.Clan
[Modules] Add testcase for builtins used in umbrella headersThis used to work before r284797 + r285152, which exposed somethinginteresting; some users include builtins from umbrella headers.Clang should emit a warning to warn users this is not a good practiceand umbrella headers shouldn't get theimplicitly-add-the-builtin-version behavior for builtin header names.While we're not there, add the testcase to represent the way itcurrently works.llvm-svn: 285377
Treat module headers wrapped by our builtin headers as implicitly being textualheaders. We previously got this check backwards and treated the wrapper headeras being textual.This is important bec
Treat module headers wrapped by our builtin headers as implicitly being textualheaders. We previously got this check backwards and treated the wrapper headeras being textual.This is important because our wrapper headers sometimes inject macros into thesystem headers that they #include_next, and sometimes replace them entirely.llvm-svn: 285152
Remove non-existing file from modulemap.This picked up a builtin header if it happened to be available.llvm-svn: 284815
[Modules] Add 'no_undeclared_includes' module map attributeThe 'no_undeclared_includes' attribute should be used in a module totell that only non-modular headers and headers from used modules are
[Modules] Add 'no_undeclared_includes' module map attributeThe 'no_undeclared_includes' attribute should be used in a module totell that only non-modular headers and headers from used modules areaccepted.The main motivation behind this is to prevent dep cycles between systemlibraries (such as darwin) and libc++.Patch by Richard Smith!llvm-svn: 284797