llvm-project/clang/test/Modules/Inputs/submodule-visibility
Richard Smith 26342f915b [modules] When creating a declaration, cache its owning module immediately
rather than waiting until it's queried.

Currently this is only applied to local submodule visibility mode, as we don't
yet allocate storage for the owning module in non-local-visibility modules
compilations.


This reinstates r302965, reverted in r303037, with a fix for the reported
crash, which occurred when reparenting a local declaration to be a child of
a hidden imported declaration (specifically during template instantiation).

llvm-svn: 303224
2017-05-17 00:24:14 +00:00
..
a.h
b.h [modules] When creating a declaration, cache its owning module immediately 2017-05-17 00:24:14 +00:00
c.h
cycle1.h
cycle2.h
module.modulemap
other.h [modules] When creating a declaration, cache its owning module immediately 2017-05-17 00:24:14 +00:00