[Modules] Fix overly conservative assertion for import diagnosticWe currenltly assert when want to diagnose a missing import and the declin question is already visible. It turns out that the decl
[Modules] Fix overly conservative assertion for import diagnosticWe currenltly assert when want to diagnose a missing import and the declin question is already visible. It turns out that the decl in questionmight be visible because another decl from the same module actually madethe module visible in a previous error diagnostic.Remove the assertion and avoid re-exporting the module if it's alreadyvisible.rdar://problem/27975402Differential Revision: https://reviews.llvm.org/D32828llvm-svn: 303705
show more ...