visible in the module we're considering entering. Previously we assumed that if we knew the include guard for a modular header, we'd already parsed it, but that need not be the case if a header is present in the current module and one of its dependencies; the result of getting this wrong was that the current module's submodule for the header would end up empty. llvm-svn: 241953
3 lines
156 B
Plaintext
3 lines
156 B
Plaintext
module A { module a { header "a.h" } module b { header "b.h" } module c { header "c.h" } }
|
|
module X { module x { header "x.h" } module c { header "c.h" } }
|