summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/submodule-visibility/a.h
Commit message (Collapse)AuthorAgeFilesLines
* [modules] Before checking whether the controlling macro of a header is defined,Richard Smith2015-07-011-0/+2
| | | | | | | | | | | 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] Make sure macros get made visible in the top-level file if we've gotRichard Smith2015-06-301-0/+6
| | | | | | | local submodule visibility enabled; that top-level file might not actually be the module includes buffer if use of prebuilt modules is disabled. llvm-svn: 241120
* [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