[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
[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