summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/submodule-visibility/module.modulemap
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Before checking whether the controlling macro of a header is defined,Richard Smith2015-07-011-0/+1
| | | | | | | | | | | update the identifier in case we've imported a definition of the macro (and thus the contents of the header) from a module. Also fold ExternalIdentifierLookup into ExternalPreprocessorSource; it no longer makes sense to keep these separate now that the only user of the former also needs the latter. llvm-svn: 241137
* [modules] If we re-enter a submodule from within itself (when submoduleRichard Smith2015-05-211-0/+5
| | | | | | | | | | visibility is enabled) or leave and re-enter it, restore the macro and module visibility state from last time we were in that submodule. This allows mutually-#including header files to stand a chance at being modularized with local visibility enabled. llvm-svn: 237871
* [modules] Add local submodule visibility support for declarations.Richard Smith2015-05-151-0/+1
With this change, enabling -fmodules-local-submodule-visibility results in name visibility rules being applied to submodules of the current module in addition to imported modules (that is, names no longer "leak" between submodules of the same top-level module). This also makes it much safer to textually include a non-modular library into a module: each submodule that textually includes that library will get its own "copy" of that library, and so the library becomes visible no matter which including submodule you import. llvm-svn: 237473
OpenPOWER on IntegriCloud