Files
clang-p2996/clang/test/Modules/Inputs/submodule-visibility/module.modulemap
Richard Smith 04765ae01e [modules] If we re-enter a submodule from within itself (when submodule
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
2015-05-21 01:20:10 +00:00

7 lines
160 B
Plaintext

module x { module a { header "a.h" } module b { header "b.h" } }
module cycles {
module cycle1 { header "cycle1.h" }
module cycle2 { header "cycle2.h" }
}