[modules] When checking the include guard for a header, check whether it'svisible in the module we're considering entering. Previously we assumed that ifwe knew the include guard for a modular head
[modules] When checking the include guard for a header, check whether it'svisible in the module we're considering entering. Previously we assumed that ifwe knew the include guard for a modular header, we'd already parsed it, butthat need not be the case if a header is present in the current module and oneof its dependencies; the result of getting this wrong was that the currentmodule's submodule for the header would end up empty.llvm-svn: 241953
show more ...